mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-30 02:58:54 -06:00
Adds the global property ``INSTALL_PARALLEL`` to enable a parallel install target for Ninja. Fixes: #25459
16 lines
373 B
CMake
16 lines
373 B
CMake
include(read-ninja-install.cmake)
|
|
|
|
foreach(line ${lines})
|
|
string(REPLACE "\t" ";" line ${line})
|
|
list(GET line 0 start)
|
|
list(GET line 1 end)
|
|
list(APPEND start_times ${start})
|
|
list(APPEND end_times ${end})
|
|
endforeach()
|
|
list(GET start_times 1 start_2)
|
|
list(GET end_times 0 end_1)
|
|
|
|
if (NOT start_2 LESS end_1)
|
|
message(FATAL_ERROR "Install is not parallel")
|
|
endif()
|