diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 13:45:15 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 13:49:27 +0100 |
commit | 4f3ee2fc7e24668eee3f72c59d3766a7ba2d49c2 (patch) | |
tree | be6fb3983d5161eef175eba9c7be42b41299506f /cmake | |
parent | f565aeebfa108d03e5c782881edd2ced849a4989 (diff) | |
download | libssh-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.cmake | 4 |
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") |