summaryrefslogtreecommitdiff
path: root/library/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-03-19 20:12:27 +0400
committerAlexander Gavrilov2012-03-19 20:12:27 +0400
commitdbbd9acfad8d5994f321840e3d695fe8a67ac315 (patch)
tree77d31425a26f6e4afd8a3b0c1a029c5ca78a9add /library/CMakeLists.txt
parent296d3a0af306a5247048ed4f38b2bc72eb582d89 (diff)
downloaddfhack-dbbd9acfad8d5994f321840e3d695fe8a67ac315.tar.gz
dfhack-dbbd9acfad8d5994f321840e3d695fe8a67ac315.tar.bz2
dfhack-dbbd9acfad8d5994f321840e3d695fe8a67ac315.tar.xz
Export the type tree with enum keys to lua.
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 7d3c4d6b..3b1c6e7b 100644
--- a/library/CMakeLists.txt
+++ b/library/CMakeLists.txt
@@ -55,6 +55,7 @@ SET(MAIN_SOURCES
Core.cpp
ColorText.cpp
DataDefs.cpp
+LuaWrapper.cpp
DataStatics.cpp
DataStaticsCtor.cpp
DataStaticsFields.cpp
@@ -251,7 +252,7 @@ ENDIF()
#effectively disables debug builds...
SET_TARGET_PROPERTIES(dfhack PROPERTIES DEBUG_POSTFIX "-debug" )
-TARGET_LINK_LIBRARIES(dfhack protobuf-lite clsocket ${PROJECT_LIBS})
+TARGET_LINK_LIBRARIES(dfhack protobuf-lite clsocket lua ${PROJECT_LIBS})
SET_TARGET_PROPERTIES(dfhack PROPERTIES LINK_INTERFACE_LIBRARIES "")
TARGET_LINK_LIBRARIES(dfhack-client protobuf-lite clsocket)