Files
CMake/Tests/RunCMake/build_command/ParallelLevel.cmake
2021-05-04 20:17:17 +02:00

6 lines
171 B
CMake

cmake_policy(SET CMP0061 NEW)
build_command(cmd PARALLEL_LEVEL 1)
if(NOT cmd MATCHES [[ --parallel "1"]])
message(FATAL_ERROR "Cannot find the --parallel flag")
endif()