hedgewars/CMakeLists.txt
branchphysfslayer
changeset 7967 2f4fa2a06e4f
parent 7959 644b757d20e6
child 8019 b216953c2617
equal deleted inserted replaced
7963:9910f303f5b6 7967:2f4fa2a06e4f
   262 #when system Lua is not found we need to compile it before engine
   262 #when system Lua is not found we need to compile it before engine
   263 if(NOT LUA_FOUND)
   263 if(NOT LUA_FOUND)
   264     add_dependencies(${engine_output_name} lua)
   264     add_dependencies(${engine_output_name} lua)
   265 endif()
   265 endif()
   266 
   266 
       
   267 add_dependencies(${engine_output_name} physfs)
       
   268 
   267 #this command is a workaround to some inlining issues present in older FreePascal versions and fixed in 2.6
   269 #this command is a workaround to some inlining issues present in older FreePascal versions and fixed in 2.6
   268 if((fpc_version LESS "020600") AND (NOVIDEOREC OR NOT ${FFMPEG_FOUND}))
   270 if((fpc_version LESS "020600") AND (NOVIDEOREC OR NOT ${FFMPEG_FOUND}))
   269     add_dependencies(${engine_output_name} ENGINECLEAN)
   271     add_dependencies(${engine_output_name} ENGINECLEAN)
   270 endif()
   272 endif()
   271 
   273