summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/build_command/ParallelLevel.cmake
blob: 1d1e525f7535bbca70aaf9424fe23deb68b675ff (plain)
1
2
3
4
5
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()