If you add a platform check for specific OS or want to modify
compiler flags, rather then introducing IF(CMAKE_SYSTEM_NAME
MATCHES...)in configure.cmake, add them to the apropriate
example, Solaris specific adjustments are made in
cmake/os/SunOS.cmake. This file will be included when you
compile on Solaris.