hedgewars/CMakeLists.txt
changeset 7694 f40c65ae3eab
parent 7655 b993257902d3
child 7706 19ade14ecc29
equal deleted inserted replaced
7692:9545f2bf087c 7694:f40c65ae3eab
   259 #when system Lua is not found we need to compile it before engine
   259 #when system Lua is not found we need to compile it before engine
   260 if(NOT LUA_FOUND)
   260 if(NOT LUA_FOUND)
   261     add_dependencies(${engine_output_name} lua)
   261     add_dependencies(${engine_output_name} lua)
   262 endif()
   262 endif()
   263 
   263 
   264 if(NOT APPLE)
   264 #fpc < 2.6 has a few bugs in updating inline functions, so we have to compile all engine every time as workaround
       
   265 if(fpc_version LESS "020600")
   265     if(NO_VIDEOREC OR NOT ${FFMPEG_FOUND})
   266     if(NO_VIDEOREC OR NOT ${FFMPEG_FOUND})
   266         add_dependencies(${engine_output_name} ENGINECLEAN)
   267         add_dependencies(${engine_output_name} ENGINECLEAN)
   267     endif()
   268     endif()
   268 endif()
   269 endif()
   269 
   270