diff options
author | Brad King <brad.king@kitware.com> | 2019-06-04 12:30:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-06-04 12:30:26 (GMT) |
commit | d4108f5585ae4e0ab79c9b192f9d6a0614f868cd (patch) | |
tree | f5c302804e2fc294d4b1e08cbcac475deed33094 /Tests | |
parent | 99b9b01c020a0b20c0eefa73a39138471c01a053 (diff) | |
parent | fada8cbfd6ae13d15b015f667a85096b15dc07b1 (diff) | |
download | CMake-d4108f5585ae4e0ab79c9b192f9d6a0614f868cd.zip CMake-d4108f5585ae4e0ab79c9b192f9d6a0614f868cd.tar.gz CMake-d4108f5585ae4e0ab79c9b192f9d6a0614f868cd.tar.bz2 |
Merge topic 'check_language_respects_cuda_host_compiler'
fada8cbfd6 CheckLanguage: Report CMAKE_CUDA_HOST_COMPILER if needed for compilation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3407
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeOnly/CheckLanguage/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeOnly/CheckLanguage/CMakeLists.txt b/Tests/CMakeOnly/CheckLanguage/CMakeLists.txt index f5336dc..ca4becb 100644 --- a/Tests/CMakeOnly/CheckLanguage/CMakeLists.txt +++ b/Tests/CMakeOnly/CheckLanguage/CMakeLists.txt @@ -7,7 +7,8 @@ set(expect_C 1) set(expect_CXX 1) unset(expect_Fortran) set(expect_NoSuchLanguage 0) -foreach(lang C CXX Fortran NoSuchLanguage) + +foreach(lang C CXX Fortran CUDA NoSuchLanguage) check_language(${lang}) if(NOT DEFINED CMAKE_${lang}_COMPILER) message(FATAL_ERROR "check_language(${lang}) did not set result") |