diff options
author | Brad King <brad.king@kitware.com> | 2021-10-22 11:08:47 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-10-22 11:08:58 (GMT) |
commit | ca3e83250f43285fa3c9a0f5e062a3fd94a097e0 (patch) | |
tree | 8a226aa6cd42cab4944c4c0861e1b6b0419cfd83 /Tests/RunCMake/CMakeLists.txt | |
parent | b3802804f1a7fa5c994fdefe34f2e94138759d8d (diff) | |
parent | 3958ed878f2365fd1af004341d45dac7f4e94afb (diff) | |
download | CMake-ca3e83250f43285fa3c9a0f5e062a3fd94a097e0.zip CMake-ca3e83250f43285fa3c9a0f5e062a3fd94a097e0.tar.gz CMake-ca3e83250f43285fa3c9a0f5e062a3fd94a097e0.tar.bz2 |
Merge topic 'lcc-policy'
3958ed878f LCC: Add policy CMP0129 regarding interpreting LCC as GNU
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !6643
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index c566b42..0c1258e 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -927,3 +927,7 @@ endif() if(WIN32) add_RunCMake_test(Win32GenEx) endif() + +if("${CMAKE_C_COMPILER_ID}" STREQUAL "LCC" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "LCC" OR "${CMAKE_Fortran_COMPILER_ID}" STREQUAL "LCC") + add_RunCMake_test("CMP0129") +endif() |