summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-06-27 11:29:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-06-27 11:30:01 (GMT)
commit6ddc0b443896e3be1c9e2ba5a67cf5231ab1249e (patch)
tree58a1e6a453ba164186daf205b3eb4608631a948a /Tests/CMakeLists.txt
parent454a6250cafd7857d444f393791a239863afb12b (diff)
parent8fbd25772f7db4c6f152a28b0050e6b263951049 (diff)
downloadCMake-6ddc0b443896e3be1c9e2ba5a67cf5231ab1249e.zip
CMake-6ddc0b443896e3be1c9e2ba5a67cf5231ab1249e.tar.gz
CMake-6ddc0b443896e3be1c9e2ba5a67cf5231ab1249e.tar.bz2
Merge topic 'cuda-msvc-runtime-library'
8fbd25772f CUDA: Implement MSVC runtime library abstraction 07807a2006 VS: Use AddLanguageFlags to de-duplicate CMAKE_{CUDA,ASM*}_FLAGS lookup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3485
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index a81ea5b..b8b7e21 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1883,6 +1883,7 @@ ${CMake_SOURCE_DIR}/Utilities/Release/push.bash --dir dev -- '${CMake_BUILD_NIGH
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
ADD_TEST_MACRO(PrecompiledHeader foo)
endif()
+ set(MSVCRuntimeLibrary_BUILD_OPTIONS -DCMake_TEST_CUDA=${CMake_TEST_CUDA})
ADD_TEST_MACRO(MSVCRuntimeLibrary)
if(CMAKE_Fortran_COMPILER)
ADD_TEST_MACRO(MSVCRuntimeLibrary.Fortran)