hedgewars/CMakeLists.txt
changeset 10230 361d36ec5181
parent 10198 e9cbe111c0df
child 10238 7e20804db6a2
--- a/hedgewars/CMakeLists.txt	Fri Apr 25 23:17:49 2014 +0400
+++ b/hedgewars/CMakeLists.txt	Mon Apr 28 16:52:00 2014 +0200
@@ -148,6 +148,7 @@
     add_flag_append(CMAKE_Pascal_FLAGS "-Fl${LUA_LIBRARY_DIR} -XLAlua=${LUA_LIBRARY_NAME}")
 else()
     add_definitions(-dLUA_INTERNAL)
+    add_definitions(-dLUA51)
     list(APPEND HW_LINK_LIBS lua)
     add_flag_append(CMAKE_Pascal_FLAGS "-XLAlua=${lua_output_name}")
 endif()