Tristan Carel wrote: > Hi, > > The documentation of `FIND_LIBRARY' specify: > "Once one of these calls succeeds the result variable will be set and > stored in the cache so that neither call will search again." > > Is there a way to avoid this behavior? I've got a FIND_LIBRARY whose > search locations depends of the result of a EXECUTE_PROCESS so this > FIND_LIBRARY needs to be performed each time I run `configure'. > > Is there a way to remove an entry from the cache?
It doesn't have to be removed from the cache. The command should just not see the value loaded from it: SET(MYLIB) FIND_LIBRARY(MYLIB ...) -Brad _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake