I was trying to differentiate between FreeBSD and Linux's and found that by using CMAKE_SYSTEM_NAME variable I will be able to do that. I had
if (CMAKE_SYSTEM_NAME MATCHES Linux) SET(...) ELSE(CMAKE_SYSTEM_NAME MATCHES Linux) SET(...) ENDIF(CMAKE_SYSTEM_NAME MATCHES Linux) This works on freeBSD but fails on Fedora and SUSE. Any Solution ? Regards, Ajay _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
