summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-28 11:38:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-28 11:38:07 (GMT)
commit9b4016a61aed3d86add35d70b803211bd60bc74b (patch)
tree8fa07d2c659044fb2f1c5d3e6017fe99680cb460 /Tests
parenta4a33ef3bec3156510cd75250680ba1a69552f17 (diff)
parente794509faa4ca430072539e0ab5046fca4cd0028 (diff)
downloadCMake-9b4016a61aed3d86add35d70b803211bd60bc74b.zip
CMake-9b4016a61aed3d86add35d70b803211bd60bc74b.tar.gz
CMake-9b4016a61aed3d86add35d70b803211bd60bc74b.tar.bz2
Merge topic 'xcode_build_jobs'
e794509faa XCode: Use -j build option when job capacity is specified by user Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5429
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CommandLine/RunCMakeTest.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
index 76ca898..b9c5aa2 100644
--- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake
@@ -201,8 +201,8 @@ function(run_BuildDir)
run_cmake_command(BuildDir--build--parallel-large ${CMAKE_COMMAND} -E chdir ..
${CMAKE_COMMAND} --build BuildDir-build --parallel 4294967293)
- # No default jobs for Xcode and FreeBSD build command
- if(NOT RunCMake_GENERATOR MATCHES "Xcode" AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ # No default jobs for FreeBSD build command
+ if(NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
run_cmake_command(BuildDir--build-jobs-no-number ${CMAKE_COMMAND} -E chdir ..
${CMAKE_COMMAND} --build BuildDir-build -j)
run_cmake_command(BuildDir--build-jobs-no-number-trailing--target ${CMAKE_COMMAND} -E chdir ..