equal
deleted
inserted
replaced
237 if(LUA_FOUND) |
237 if(LUA_FOUND) |
238 message(STATUS "Found LUA: ${LUA_DEFAULT}") |
238 message(STATUS "Found LUA: ${LUA_DEFAULT}") |
239 else() |
239 else() |
240 message(STATUS "LUA will be provided by the bundled sources") |
240 message(STATUS "LUA will be provided by the bundled sources") |
241 add_subdirectory(misc/liblua) |
241 add_subdirectory(misc/liblua) |
|
242 set(LUA_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/misc/liblua) |
242 #linking with liblua.a requires system readline -- this works everywhere, right? |
243 #linking with liblua.a requires system readline -- this works everywhere, right? |
243 set(pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline" ${pascal_flags}) |
244 set(pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline" ${pascal_flags}) |
|
245 add_dependencies(physfsrwops lua) |
244 endif() |
246 endif() |
245 |
247 |
246 |
248 |
247 #main engine |
249 #main engine |
248 add_subdirectory(hedgewars) |
250 add_subdirectory(hedgewars) |