diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-10-25 18:34:18 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2021-06-07 19:25:33 (GMT) |
commit | 2e86e50c2fb2897dc1a0612676c5bd26eb7924a9 (patch) | |
tree | 1a788cb67645e12353c4c0d875601edbeeb21159 /Tests/RunCMake/CheckLinkerFlag | |
parent | 947dbed0aa502c70a9e165757450bd8409036980 (diff) | |
download | CMake-2e86e50c2fb2897dc1a0612676c5bd26eb7924a9.zip CMake-2e86e50c2fb2897dc1a0612676c5bd26eb7924a9.tar.gz CMake-2e86e50c2fb2897dc1a0612676c5bd26eb7924a9.tar.bz2 |
HIP: Add HIP to all the Check* modules
Diffstat (limited to 'Tests/RunCMake/CheckLinkerFlag')
-rw-r--r-- | Tests/RunCMake/CheckLinkerFlag/CheckHIPLinkerFlag.cmake | 3 | ||||
-rw-r--r-- | Tests/RunCMake/CheckLinkerFlag/RunCMakeTest.cmake | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckLinkerFlag/CheckHIPLinkerFlag.cmake b/Tests/RunCMake/CheckLinkerFlag/CheckHIPLinkerFlag.cmake new file mode 100644 index 0000000..3bf3b30 --- /dev/null +++ b/Tests/RunCMake/CheckLinkerFlag/CheckHIPLinkerFlag.cmake @@ -0,0 +1,3 @@ + +set (CHECK_LANGUAGE HIP) +include ("${CMAKE_CURRENT_SOURCE_DIR}/CheckLinkerFlag.cmake") diff --git a/Tests/RunCMake/CheckLinkerFlag/RunCMakeTest.cmake b/Tests/RunCMake/CheckLinkerFlag/RunCMakeTest.cmake index 6ec9148..5e5bff6 100644 --- a/Tests/RunCMake/CheckLinkerFlag/RunCMakeTest.cmake +++ b/Tests/RunCMake/CheckLinkerFlag/RunCMakeTest.cmake @@ -16,3 +16,7 @@ endif() if (CMake_TEST_CUDA) run_cmake(CheckCUDALinkerFlag) endif() + +if (CMake_TEST_HIP) + run_cmake(CheckHIPLinkerFlag) +endif() |