diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-01-06 16:03:16 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-01-13 17:50:37 (GMT) |
commit | c7ac13e8ed471497e672578816570535440e5815 (patch) | |
tree | d12e24ef3745ab1ab766fc3ae9485225100c9d84 /Tests/RunCMake/CMakeLists.txt | |
parent | 4bac5b628ea1e854ab23b6e713ad3eb211b3a9e3 (diff) | |
download | CMake-c7ac13e8ed471497e672578816570535440e5815.zip CMake-c7ac13e8ed471497e672578816570535440e5815.tar.gz CMake-c7ac13e8ed471497e672578816570535440e5815.tar.bz2 |
CUDA: Mult-Config Ninja generator now supports CUDA
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index b8ac45b..0534974 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -140,6 +140,9 @@ if(CMAKE_GENERATOR MATCHES "Ninja") if(CMake_TEST_Qt5 AND Qt5Core_FOUND) list(APPEND NinjaMultiConfig_ARGS -DCMake_TEST_Qt5=1) endif() + if(DEFINED CMake_TEST_CUDA) + list(APPEND NinjaMultiConfig_ARGS -DCMake_TEST_CUDA=${CMake_TEST_CUDA}) + endif() add_RunCMake_test(NinjaMultiConfig) endif() add_RunCMake_test(CTest) |