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 CMakeCache.txt.
It happens every time when I generate the makefile structure with ccmake. I didn't set the *_DIR variable manually, neither does the CMakeLists.txt. The culprit might be the fact that I have to configure at least twice before I can generate on ccmake? Andreas _______________________________________________ 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
