[CMake] CMAKE_MODULE_PATH

2011-08-08 Thread Andreas Kelle-Emden
Hi all, the variable CMAKE_PREFIX_PATH is automatically set if the corresponding environment variable is set. This does not apply to CMAKE_MODULE_PATH. Is this behaviour intended? Best regards, Andreas ___ Powered by www.kitware.com Visit other Kitwar

Re: [CMake] Warning with ccmake 2.8.4

2011-03-08 Thread Andreas Kelle-Emden
Am 08.03.2011 17:11, schrieb Brad King: Does it happen even if you don't pass -D... on ccmake's command line when regenerating an existing build tree? No, it runs perfectly on an existing tree. Andreas ___ Powered by www.kitware.com Visit other Kit

Re: [CMake] Warning with ccmake 2.8.4

2011-03-08 Thread Andreas Kelle-Emden
Am 08.03.2011 14:22, schrieb Brad King: 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

[CMake] Warning with ccmake 2.8.4

2011-03-08 Thread Andreas Kelle-Emden
Hi list, 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 ge