equal
deleted
inserted
replaced
249 endif() |
249 endif() |
250 |
250 |
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 # add_dependencies(${engine_output_name} ENGINECLEAN) |
256 if(NO_VIDEOREC) |
257 # endif() |
257 add_dependencies(${engine_output_name} ENGINECLEAN) |
|
258 else() |
|
259 add_dependencies(avwrapper ENGINECLEAN) |
|
260 endif() |
|
261 endif() |
258 |
262 |
259 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_dir}) |
263 install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/${engine_output_name}${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_dir}) |