Permalink
Browse files

cmake: Define BSD.

  • Loading branch information...
1 parent 5c581f8 commit 20e637968afc897af78ca57cc1065c26ceccc38a @cryptomilk cryptomilk committed Jan 24, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 cmake/Modules/DefinePlatformDefaults.cmake
@@ -6,14 +6,17 @@ endif(CMAKE_SYSTEM_NAME MATCHES "Linux")
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(FREEBSD TRUE)
+ set(BSD TRUE)
endif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
set(OPENBSD TRUE)
+ set(BSD TRUE)
endif (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
if (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
set(NETBSD TRUE)
+ set(BSD TRUE)
endif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
if (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")

0 comments on commit 20e6379

Please sign in to comment.