On 03/08/2011 02:53 AM, Andreas Kelle-Emden wrote: > I set the variable CMAKE_PREFIX_PATH on the command line > so that CMake can find some Config files installed in a > non-standard directory. > The makefile generator prints the following warning: > > CMake Warning: The variable, 'CMAKE_PREFIX_PATH', specified manually, > was not used during the generation. > > Actually, the variable IS used, but only for finding the ***_DIRs.
If the _DIRs are already set then there is no search and the variable is not used. Does this happen on the very first run in a new build tree? You shouldn't need to pass it on the command line after the first time because it will be stored persistently in CMakeCache.txt. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
