diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-05 11:29:22 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-05 11:29:22 +0200 |
commit | 1421501bca3d407b9e5e8680b44014fd73034054 (patch) | |
tree | b6e8340ec0e3a4a5efa9110767628ab5ef0924b1 /cmake | |
parent | 471fd3d71d17210ca0dc583272f757e48bdb9cef (diff) | |
download | socket_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.cmake | 4 |
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") |