[CMake] CMake 2.8.1 / Win: Neither if nor else?`

Tyler Roscoe tyler at cryptio.net
Fri May 21 18:06:25 EDT 2010


On Fri, May 21, 2010 at 02:04:38PM -0700, Torsten Rohlfing wrote:
> FIND_PACKAGE(ZLIB)
> IF(ZLIB_FOUND)
>   MESSAGE( WARNING "HAVE system zlib" )
> ELSEIF(ZLIB_FOUND)
>   MESSAGE( WARNING "NO system zlib" )
> ENDIF(ZLIB_FOUND)

I don't see an else clause here, just two ifs (that check the same
condition).

tyler


More information about the CMake mailing list