hedgewars/CMakeLists.txt
changeset 7278 000e4543f204
parent 7231 f484455dd055
parent 7233 225179f64fd8
child 7373 d5ec4e4eb2d5
equal deleted inserted replaced
7238:313b2ecc4441 7278:000e4543f204
   225 
   225 
   226 
   226 
   227 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
   227 add_custom_target(${engine_output_name} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}")
   228 
   228 
   229 #when system Lua is not found we need to compile it before engine
   229 #when system Lua is not found we need to compile it before engine
   230 if(NOT ${LUA_FOUND})
   230 if(NOT LUA_FOUND)
   231     add_dependencies(${engine_output_name} lua)
   231     add_dependencies(${engine_output_name} lua)
   232 endif()
   232 endif()
   233 
   233 
   234 #this command is a workaround to some inlining issues present in older
   234 #this command is a workaround to some inlining issues present in older
   235 # FreePascal versions and fixed in 2.6, That version is mandatory on OSX,
   235 # FreePascal versions and fixed in 2.6, That version is mandatory on OSX,