summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-01-07 12:40:33 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-09 18:52:37 (GMT)
commit1a9f6bad987d9b08330e59451955a8df9db21c3b (patch)
tree594407b9d7375bfa71f4c2d19d59e034d52e31db /Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake
parentd4d11b17078a6690aca122d7f7ec62475cedccfc (diff)
downloadCMake-1a9f6bad987d9b08330e59451955a8df9db21c3b.zip
CMake-1a9f6bad987d9b08330e59451955a8df9db21c3b.tar.gz
CMake-1a9f6bad987d9b08330e59451955a8df9db21c3b.tar.bz2
ObjC: Add _COMPILE_LAUNCHER support
Fixes: #20178
Diffstat (limited to 'Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake b/Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake
index e9543f1..69fff20 100644
--- a/Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CompilerLauncher/RunCMakeTest.cmake
@@ -29,6 +29,9 @@ endif()
if(CMake_TEST_Fortran)
list(APPEND langs Fortran)
endif()
+if(CMake_TEST_OBJC)
+ list(APPEND langs OBJC OBJCXX)
+endif()
foreach(lang ${langs})
run_compiler_launcher(${lang})