summaryrefslogtreecommitdiffstats
path: root/Tests/TryCompile/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-22 11:08:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-10-22 11:08:58 (GMT)
commitca3e83250f43285fa3c9a0f5e062a3fd94a097e0 (patch)
tree8a226aa6cd42cab4944c4c0861e1b6b0419cfd83 /Tests/TryCompile/CMakeLists.txt
parentb3802804f1a7fa5c994fdefe34f2e94138759d8d (diff)
parent3958ed878f2365fd1af004341d45dac7f4e94afb (diff)
downloadCMake-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/TryCompile/CMakeLists.txt')
-rw-r--r--Tests/TryCompile/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/TryCompile/CMakeLists.txt b/Tests/TryCompile/CMakeLists.txt
index e35e0d3..b1b9d57 100644
--- a/Tests/TryCompile/CMakeLists.txt
+++ b/Tests/TryCompile/CMakeLists.txt
@@ -1,4 +1,7 @@
cmake_minimum_required (VERSION 2.8.12)
+if(POLICY CMP0129)
+ cmake_policy(SET CMP0129 NEW)
+endif()
project(TryCompile)
macro(TEST_ASSERT value msg)