forked from Mirrors/openclonk
Prevent parallel groups packing with ninja
For some reason, generating the groups in parallel fails frequently.master
parent
5395a8dc84
commit
8df71d3f32
|
@ -1577,6 +1577,7 @@ if(NOT C4GROUP_TOOL_ONLY)
|
||||||
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/planet/${group}
|
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/planet/${group}
|
||||||
DEPENDS "${native_c4group}"
|
DEPENDS "${native_c4group}"
|
||||||
VERBATIM
|
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)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${group} DESTINATION share/games/openclonk)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue