[Cmake] IF condition SunOS

Wheeler, Fred (Research) wheeler at crd.ge.com
Thu Jun 20 09:16:39 EDT 2002


Minor change, for the record:
For Solaris 2.7 (and probably all of them), this would have to be (capital O, capital S),

IF(CMAKE_SYSTEM MATCHES "SunOS.*")

I just started using this in VXL.

> 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