summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Collett2012-06-14 09:56:20 -0400
committerTimothy Collett2012-06-14 09:56:20 -0400
commit0ced9d99410c65dcf1e3ac2ac62cc1dd0b7c89bf (patch)
tree3ff0d83f24f6869843ade92dd5fe9df922870abe /library/CMakeLists.txt
parent19595f5225b1d74fb7d817e0c11abab8a8c57c0d (diff)
downloaddfhack-0ced9d99410c65dcf1e3ac2ac62cc1dd0b7c89bf.tar.gz
dfhack-0ced9d99410c65dcf1e3ac2ac62cc1dd0b7c89bf.tar.bz2
dfhack-0ced9d99410c65dcf1e3ac2ac62cc1dd0b7c89bf.tar.xz
Hopefully fix DFHack's attempt to pull libstdc++ from somewhere silly (for portability)
Diffstat (limited to 'library/CMakeLists.txt')
-rw-r--r--library/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt
index 2035a5ce..10514539 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -267,8 +267,9 @@ 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)
TARGET_LINK_LIBRARIES(dfhack ${SDL_LIBRARY})
-# TARGET_LINK_LIBRARIES(dfhack /usr/lib/libc++.dylib)
+ TARGET_LINK_LIBRARIES(dfhack ${CXX_LIBRARY})
SET_TARGET_PROPERTIES(dfhack PROPERTIES VERSION 1.0.0)
SET_TARGET_PROPERTIES(dfhack PROPERTIES SOVERSION 1.0.0)
ENDIF()