diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-01-24 15:44:11 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-01-24 15:44:11 +0100 |
commit | 20e637968afc897af78ca57cc1065c26ceccc38a (patch) | |
tree | 1b11be1633fde3c4b2c32bd587477e7c1377002a /cmake/Modules | |
parent | 5c581f8a4c6e5ed0c6670527e3b2a2b0f5495409 (diff) | |
download | libssh-20e637968afc897af78ca57cc1065c26ceccc38a.tar.gz libssh-20e637968afc897af78ca57cc1065c26ceccc38a.tar.xz libssh-20e637968afc897af78ca57cc1065c26ceccc38a.zip |
cmake: Define BSD.
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/DefinePlatformDefaults.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Modules/DefinePlatformDefaults.cmake b/cmake/Modules/DefinePlatformDefaults.cmake index 0c3a05e..502d936 100644 --- a/cmake/Modules/DefinePlatformDefaults.cmake +++ b/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)") |