Skip to content

Instantly share code, notes, and snippets.


Lars Baehren lbaehren

View GitHub Profile
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.