[Cmake] IF condition SunOS

Bill Hoffman bill.hoffman at kitware.com
Thu Jun 6 08:21:25 EDT 2002


You can do this:

IF(CMAKE_SYSTEM MATCHES "SunOs.*")
...


-Bill

At 11:14 AM 6/5/2002 -0400, Julien Jomier wrote:
>Hi All,
>
>I've a (perhaps stupid) question:
>Is there any SUNOS  statement in CMake ?   (like UNIX WIN32) 
>I'm trying to include some .cxx files only under SunOS or maybe there
>is another way to solve this ...
>
>Thanks
>
>Julien
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 




More information about the CMake mailing list