CMake cache editor - reset values


Would it be possible to add a feature which would reset a find_path or a find_library variable? That would mean the variable VAR2 would be given the value VAR2-NOTFOUND.

I know there's probably no reliable way to filter the variables, but perhaps this could work with any variable?

1 comment

I suppose you can just clear the <VAR> variable that you've passed to find_path. This can be done through the Cache editor, don't forget to press Apply Changes and Reload button afterwards. To find the variable in cache easily use the speed search: just start typing its name and CLion highlights all the usages.

If you feel the workaround is not enough please fill the feature request in tracker and provide the descrition there:


Please sign in to leave a comment.