aboutsummaryrefslogtreecommitdiff
path: root/ConfigureChecks.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 /ConfigureChecks.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 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index ec72b4e..0d906c5 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -163,6 +163,10 @@ if (HAVE_LIBDL)
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${DLFCN_LIBRARY})
endif (HAVE_LIBDL)
+if (OSX)
+ set(HAVE_APPLE 1)
+endif (OSX)
+
# ENDIAN
if (NOT WIN32)
test_big_endian(WORDS_BIGENDIAN)