summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-27 16:25:26 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-27 16:25:26 +0200
commita5f288ca3f4621ad60ed270a2e95ef8acc6c90d2 (patch)
treef597639777fb7a96dad2765b294a53016c65b947 /src/CMakeLists.txt
parent80eccfbdb29c75d8c2d3de9ed98e686a52dd9c86 (diff)
downloadrpgedit-a5f288ca3f4621ad60ed270a2e95ef8acc6c90d2.tar
rpgedit-a5f288ca3f4621ad60ed270a2e95ef8acc6c90d2.zip
Add Lua scripting context
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 54836d0..8a38474 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
-include_directories(${SDL2_INCLUDE_DIRS})
-link_directories(${SDL2_LIBRARY_DIRS})
+include_directories(${SDL2_INCLUDE_DIRS} ${LUA_INCLUDE_DIRS})
+link_directories(${SDL2_LIBRARY_DIRS} ${LUA_LIBRARY_DIRS})
add_executable(rpgedit
rpgedit.cpp
@@ -9,6 +9,6 @@ add_executable(rpgedit
view/MapView.cpp
view/SpriteCache.cpp
)
-set_target_properties(rpgedit PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall ${SDL2_CFLAGS_OTHER}")
-set_target_properties(rpgedit PROPERTIES LINK_FLAGS "${SDL2_LDFLAGS_OTHER}")
-target_link_libraries(rpgedit ${SDL2_LIBRARIES})
+set_target_properties(rpgedit PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall ${SDL2_CFLAGS_OTHER} ${LUA_CFLAGS_OTHER}")
+set_target_properties(rpgedit PROPERTIES LINK_FLAGS "${SDL2_LDFLAGS_OTHER} ${LUA_LDFLAGS_OTHER}")
+target_link_libraries(rpgedit ${SDL2_LIBRARIES} ${LUA_LIBRARIES})