summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-12-12 16:57:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-12-12 16:57:18 (GMT)
commit4fb9c880425ade41735951347d4e7d004a4e1e47 (patch)
tree7792f6261e1c88c812b679633eab50fde7f27a90 /Tests/RunCMake
parentbd855ffb5576c7ab2b3281e96a1aebaf825f9e97 (diff)
parent2467a2b3184595a87e93db510408fc14ddbaf3b9 (diff)
downloadCMake-4fb9c880425ade41735951347d4e7d004a4e1e47.zip
CMake-4fb9c880425ade41735951347d4e7d004a4e1e47.tar.gz
CMake-4fb9c880425ade41735951347d4e7d004a4e1e47.tar.bz2
Merge topic 'add_cuda_meta_compiler_features'
2467a2b318 CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3992
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/try_compile/RunCMakeTest.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/Tests/RunCMake/try_compile/RunCMakeTest.cmake b/Tests/RunCMake/try_compile/RunCMakeTest.cmake
index 91f014e..e838b2d 100644
--- a/Tests/RunCMake/try_compile/RunCMakeTest.cmake
+++ b/Tests/RunCMake/try_compile/RunCMakeTest.cmake
@@ -49,11 +49,7 @@ if(CMAKE_OBJCXX_STANDARD_DEFAULT)
run_cmake(ObjCxxStandard)
endif()
if(CMake_TEST_CUDA)
- if(CMAKE_HOST_WIN32)
- run_cmake(CudaStandardNoDefault)
- else()
- run_cmake(CudaStandard)
- endif()
+ run_cmake(CudaStandard)
endif()
if(CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 4.4)
run_cmake(CStandardGNU)