project_files/hwc/CMakeLists.txt
changeset 10127 7f29a65aa1e4
parent 9984 84835d0ceb64
child 10129 cd2a64a1f4aa
--- a/project_files/hwc/CMakeLists.txt	Sun Feb 09 19:00:13 2014 +0100
+++ b/project_files/hwc/CMakeLists.txt	Mon Feb 10 00:43:03 2014 +0400
@@ -12,6 +12,7 @@
 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/rtl)
 include_directories(${PHYSFS_INCLUDE_DIR})
 include_directories(${PHYSLAYER_INCLUDE_DIR})
+include_directories(${LUA_INCLUDE_DIR})
 add_subdirectory(rtl)
 
 configure_file(${CMAKE_SOURCE_DIR}/hedgewars/config.inc.in ${CMAKE_CURRENT_BINARY_DIR}/config.inc)
@@ -60,6 +61,8 @@
 
 
 #compile the c files
+add_definitions(-DPAS2C)
+
 add_executable(hwengine WIN32 ${engine_sources})
 
 target_link_libraries(hwengine  fpcrtl