summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-03-22 19:27:08 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-03-22 19:27:08 (GMT)
commit296a3f41aacde53cd2d6203e6736a725136bf5f6 (patch)
tree9c237faeaeac54b55fd0a329d642bd8038e4b185
parent987c7a094f970d0efdd46c8f83c6e54eb0e54a94 (diff)
downloadCMake-296a3f41aacde53cd2d6203e6736a725136bf5f6.zip
CMake-296a3f41aacde53cd2d6203e6736a725136bf5f6.tar.gz
CMake-296a3f41aacde53cd2d6203e6736a725136bf5f6.tar.bz2
FIX: fix bug 1690
-rw-r--r--Source/cmDynamicLoader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmDynamicLoader.h b/Source/cmDynamicLoader.h
index ac2a88a..89e0c6f 100644
--- a/Source/cmDynamicLoader.h
+++ b/Source/cmDynamicLoader.h
@@ -33,6 +33,9 @@
#elif defined(_WIN32)
#include <windows.h>
typedef HMODULE cmLibHandle;
+#elif defined(__APPLE__)
+ #include <mach-o/dyld.h>
+ typedef NSModule cmLibHandle;
#else
typedef void* cmLibHandle;
#endif