[CMake] doesnt FIND_PACKAGE set to 1 <name>_FOUND when successfull?

Luca Cappa luca.cappa at sequoia.it
Mon Jul 3 05:16:55 EDT 2006


Hello,

i have a little problem with latest stable cmake. My cmakelists.txt file is

FIND_PACKAGE(wxWindows)
MESSAGE ("${wxWindows_FOUND}")
IF(NOT wxWindows_FOUND)
	MESSAGE(FATAL_ERROR "....

even if the find_package is successfull, the wxWindows_FOUND is always a  
blank variable, it is never set to 1.
Actually I simply commented out "IF(NOT wxWind..." block of code, but i  
would like someone to enlight me what is wrong in there.

Thanks in advance.
Luca


More information about the CMake mailing list