> --- Ursprüngliche Nachricht --- > Von: Xavier Delannoy <[EMAIL PROTECTED]> > An: [email protected] > Betreff: [CMake] IF(LINUX) don't work > Datum: Tue, 31 Jan 2006 15:13:16 +0100 > > hi all, > > is this a bug ? or do I do something wrong ? It's a known missing feature, the cmake developers have it on their todo. Maybe you could file a bug report/feature request. You can test with IF(): WIN32 UNIX CYGWIN MINGW APPLE You can test also IF("${CMAKE_SYSTEM}" MATCHES "Linux"), see the cmake wiki page "useful cmake variables". Bye Alex
-- 10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail +++ GMX - die erste Adresse für Mail, Message, More +++ _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
