aboutsummaryrefslogtreecommitdiff
path: root/cmake
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:49:27 +0100
commit4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2 (patch)
treebe6fb3983d5161eef175eba9c7be42b41299506f /cmake
parentf565aeebfa108d03e5c782881edd2ced849a4989 (diff)
downloadlibssh-4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2.tar.gz
libssh-4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2.tar.xz
libssh-4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2.zip
Fix examples compilation on OSX (libargp)
Diffstat (limited to 'cmake')
-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")