aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-05 11:29:22 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-05 11:29:22 +0200
commit1421501bca3d407b9e5e8680b44014fd73034054 (patch)
treeb6e8340ec0e3a4a5efa9110767628ab5ef0924b1 /cmake
parent471fd3d71d17210ca0dc583272f757e48bdb9cef (diff)
downloadsocket_wrapper-1421501bca3d407b9e5e8680b44014fd73034054.tar.gz
socket_wrapper-1421501bca3d407b9e5e8680b44014fd73034054.tar.xz
socket_wrapper-1421501bca3d407b9e5e8680b44014fd73034054.zip
src: Correctly load symbols on APPLE.
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 502d936..f36d9e6 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")