hedgewars/CMakeLists.txt
changeset 7233 225179f64fd8
parent 7223 b554726ff468
child 7278 000e4543f204
child 7370 d50b874e7ee8
equal deleted inserted replaced
7229:c34516ec0f27 7233:225179f64fd8
   215 
   215 
   216 
   216 
   217 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
   217 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
   218 
   218 
   219 #when system Lua is not found we need to compile it before engine
   219 #when system Lua is not found we need to compile it before engine
   220 if(NOT ${LUA_FOUND})
   220 if(NOT LUA_FOUND)
   221     add_dependencies(${engine_output_name} lua)
   221     add_dependencies(${engine_output_name} lua)
   222 endif()
   222 endif()
   223 
   223 
   224 #this command is a workaround to some inlining issues present in older
   224 #this command is a workaround to some inlining issues present in older
   225 # FreePascal versions and fixed in 2.6, That version is mandatory on OSX,
   225 # FreePascal versions and fixed in 2.6, That version is mandatory on OSX,