equal
deleted
inserted
replaced
191 |
191 |
192 |
192 |
193 |
193 |
194 #this command is a workaround to some inlining issues present in older FreePascal versions and fixed in 2.6 |
194 #this command is a workaround to some inlining issues present in older FreePascal versions and fixed in 2.6 |
195 if(fpc_version LESS "020600") |
195 if(fpc_version LESS "020600") |
196 add_custom_target(ENGINECLEAN COMMAND ${CMAKE_BUILD_TOOL} "clean" "${PROJECT_BINARY_DIR}" "${hedgewars_SOURCE_DIR}/hedgewars") |
196 #under some configurations CMAKE_BUILD_TOOL fails to pass on the jobserver, breaking parallel compilation |
|
197 #TODO: check if this is needed on windows too |
|
198 if(UNIX) |
|
199 set(SAFE_BUILD_TOOL $(MAKE)) |
|
200 else() |
|
201 set(SAFE_BUILD_TOOL ${CMAKE_BUILD_TOOL}) |
|
202 endif() |
|
203 add_custom_target(ENGINECLEAN COMMAND ${SAFE_BUILD_TOOL} "clean" "${PROJECT_BINARY_DIR}" "${hedgewars_SOURCE_DIR}/hedgewars") |
197 endif() |
204 endif() |
198 |
205 |
199 |
206 |
200 if(NOT NOVIDEOREC) |
207 if(NOT NOVIDEOREC) |
201 set(FFMPEG_FIND_QUIETLY true) |
208 set(FFMPEG_FIND_QUIETLY true) |