Skip to content

Instantly share code, notes, and snippets.

Avatar

Lars Baehren lbaehren

View GitHub Profile
@lbaehren
lbaehren / IdentifyOS.cmake
Created Apr 18, 2012
Identification of operating system @ CMake
View IdentifyOS.cmake
if (UNIX)
if (APPLE)
set (CMAKE_OS_NAME "OSX" CACHE STRING "Operating system name" FORCE)
else (APPLE)
## Check for Debian GNU/Linux ________________
You can’t perform that action at this time.