--- 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