[CMake] UNIX/APPLE

ML mailinglists at MailNewsRSS.com
Fri Aug 7 06:31:28 EDT 2009


Micha,

>> is UNIX on Apple true? I mean the build-in-variables.
>
> Yes, MacOS is a Unix derivative, so UNIX is set.

Maybe obvious, but since I am new and learning, you can also do:

IF(UNIX AND NOT APPLE)
	.......
ENDIF(UNIX AND NOT APPLE)

-Jason


More information about the CMake mailing list