[CMake] issue with CHECK FUNCTION EXISTS() and friends

Thompson, David C dcthomp at sandia.gov
Wed Jun 29 06:30:21 EDT 2005


> there is the family of CHECK_XXX_EXISTS() macros in the cmake Modules.  
> They work quite well but I have a problem with them.  
> If the item which was searched for has been found HAVE_FOO is set to "1".  
> This is ok and works in all cases:  
> in config.h.cmake:  
>  #define HAVE_FOO ${HAVE_FOO}  

Doesn't

   #cmakedefine HAVE_FOO

in config.h.cmake do the right thing?

        David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20050629/2626ac03/attachment.html


More information about the CMake mailing list