equal
deleted
inserted
replaced
251 #this command is a workaround to some inlining issues present in older |
251 #this command is a workaround to some inlining issues present in older |
252 # FreePascal versions and fixed in 2.6, That version is mandatory on OSX, |
252 # FreePascal versions and fixed in 2.6, That version is mandatory on OSX, |
253 # hence the command is not needed there |
253 # hence the command is not needed there |
254 if(NOT APPLE) |
254 if(NOT APPLE) |
255 add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" "${PROJECT_BINARY_DIR}" "${hedgewars_SOURCE_DIR}/hedgewars") |
255 add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" "${PROJECT_BINARY_DIR}" "${hedgewars_SOURCE_DIR}/hedgewars") |
256 if(NO_VIDEOREC) |
256 if(NO_VIDEOREC OR NOT ${FFMPEG_FOUND}) |
257 add_dependencies(${engine_output_name} ENGINECLEAN) |
257 add_dependencies(${engine_output_name} ENGINECLEAN) |
258 else() |
258 else() |
259 add_dependencies(avwrapper ENGINECLEAN) |
259 add_dependencies(avwrapper ENGINECLEAN) |
260 endif() |
260 endif() |
261 endif() |
261 endif() |