Skip to content

Instantly share code, notes, and snippets.

@lbaehren
lbaehren / IdentifyOS.cmake
Created April 18, 2012 12:47
Identification of operating system @ CMake
if (UNIX)
if (APPLE)
set (CMAKE_OS_NAME "OSX" CACHE STRING "Operating system name" FORCE)
else (APPLE)
## Check for Debian GNU/Linux ________________