Prevent parallel groups packing with ninja

For some reason, generating the groups in parallel fails frequently.
master
Lukas Werling 2018-09-23 23:18:37 +02:00
parent 5395a8dc84
commit 8df71d3f32
1 changed files with 1 additions and 0 deletions

View File

@ -1577,6 +1577,7 @@ if(NOT C4GROUP_TOOL_ONLY)
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/planet/${group}
DEPENDS "${native_c4group}"
VERBATIM
USES_TERMINAL # Hack: prevent parallel execution (for ninja), c4group tends to fail otherwise
)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${group} DESTINATION share/games/openclonk)
endif()