summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-02-14 21:27:42 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-02-14 21:27:42 +0100
commitf05141f1f78d9e0d917b2cc07f0fb09fd7f62801 (patch)
treeb1cf041fd21359c260e924018c334e157db55f68 /src
parent12cf10a35ca156e4d34f5b2154e01484fdfaf41c (diff)
downloadrpgedit-f05141f1f78d9e0d917b2cc07f0fb09fd7f62801.tar
rpgedit-f05141f1f78d9e0d917b2cc07f0fb09fd7f62801.zip
Find only Lua 5.2
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3ba9985..3e7dd61 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
-include_directories(${SDL2_INCLUDE_DIRS} ${LUA_INCLUDE_DIRS})
-link_directories(${SDL2_LIBRARY_DIRS} ${LUA_LIBRARY_DIRS})
+include_directories(${SDL2_INCLUDE_DIRS} ${LUA_INCLUDE_DIR})
+link_directories(${SDL2_LIBRARY_DIRS})
add_executable(rpgedit
rpgedit.cpp
@@ -10,6 +10,6 @@ add_executable(rpgedit
view/MapView.cpp
view/SpriteCache.cpp
)
-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}")
+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} ${LUA_LIBRARIES})