aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2013-11-03 13:45:15 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2013-11-03 13:51:03 +0100
commit5bc32bfd88b75c9bd2d63f4e319c817cffce7cd8 (patch)
treec91e24dc4490aea93116922e74bca1e4c3eaebf9 /cmake/Modules
parent7c8a793b0a53182566a275fb43d5a1e868c792e4 (diff)
downloadlibssh-5bc32bfd88b75c9bd2d63f4e319c817cffce7cd8.tar.gz
libssh-5bc32bfd88b75c9bd2d63f4e319c817cffce7cd8.tar.xz
libssh-5bc32bfd88b75c9bd2d63f4e319c817cffce7cd8.zip
Fix examples compilation on OSX (libargp)
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/DefinePlatformDefaults.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/DefinePlatformDefaults.cmake b/cmake/Modules/DefinePlatformDefaults.cmake
index 502d936b..77f8a461 100644
--- a/cmake/Modules/DefinePlatformDefaults.cmake
+++ b/cmake/Modules/DefinePlatformDefaults.cmake
@@ -26,3 +26,7 @@ endif (CMAKE_SYSTEM_NAME MATCHES "(Solaris|SunOS)")
if (CMAKE_SYSTEM_NAME MATCHES "OS2")
set(OS2 TRUE)
endif (CMAKE_SYSTEM_NAME MATCHES "OS2")
+
+if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ set (OSX TRUE)
+endif (CMAKE_SYSTEM_NAME MATCHES "Darwin")