author | koda |
Thu, 20 Sep 2012 22:17:02 +0200 | |
changeset 7694 | f40c65ae3eab |
parent 7692 | 9545f2bf087c |
child 7696 | 78a00bc68913 |
--- a/hedgewars/CMakeLists.txt Thu Sep 20 22:10:32 2012 +0200 +++ b/hedgewars/CMakeLists.txt Thu Sep 20 22:17:02 2012 +0200 @@ -261,7 +261,8 @@ add_dependencies(${engine_output_name} lua) endif() -if(NOT APPLE) +#fpc < 2.6 has a few bugs in updating inline functions, so we have to compile all engine every time as workaround +if(fpc_version LESS "020600") if(NO_VIDEOREC OR NOT ${FFMPEG_FOUND}) add_dependencies(${engine_output_name} ENGINECLEAN) endif()