summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Collett2012-06-14 13:43:03 -0400
committerTimothy Collett2012-06-14 13:43:03 -0400
commit9c35e9fa597199fd2ed639d06a7d6fd3cadc8cd3 (patch)
treea86e1d131c9c781a73b8270b6bd8902a0f095b33 /library/CMakeLists.txt
parentf2a30c1a929d14a79ee95402b72565b3f23eab7a (diff)
downloaddfhack-9c35e9fa597199fd2ed639d06a7d6fd3cadc8cd3.tar.gz
dfhack-9c35e9fa597199fd2ed639d06a7d6fd3cadc8cd3.tar.bz2
dfhack-9c35e9fa597199fd2ed639d06a7d6fd3cadc8cd3.tar.xz
Ensure that the appropriate libz.dylib is used
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 10514539..73f6c9ec 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -268,8 +268,10 @@ SET_TARGET_PROPERTIES(dfhack PROPERTIES DEBUG_POSTFIX "-debug" )
IF(APPLE)
SET(SDL_LIBRARY ${CMAKE_INSTALL_PREFIX}/libs/SDL.framework)
SET(CXX_LIBRARY ${CMAKE_INSTALL_PREFIX}/libs/libstdc++.6.dylib)
+ SET(ZIP_LIBRARY /usr/lib/libz.dylib)
TARGET_LINK_LIBRARIES(dfhack ${SDL_LIBRARY})
TARGET_LINK_LIBRARIES(dfhack ${CXX_LIBRARY})
+ TARGET_LINK_LIBRARIES(dfhack ${ZIP_LIBRARY})
SET_TARGET_PROPERTIES(dfhack PROPERTIES VERSION 1.0.0)
SET_TARGET_PROPERTIES(dfhack PROPERTIES SOVERSION 1.0.0)
ENDIF()