summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-19 16:50:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-07-19 16:50:57 (GMT)
commit095f49ec36b49a695344b2e7c8f610b1c326cdfb (patch)
treeb4222246b7277c1b6c13ffb7bf4f56cdfda35d05 /Tests
parent38ad30c0638f6809ce6a3023ea153f7c02a31e5e (diff)
parent3ddd7f35760055fc501d454f9029f3987536957b (diff)
downloadCMake-095f49ec36b49a695344b2e7c8f610b1c326cdfb.zip
CMake-095f49ec36b49a695344b2e7c8f610b1c326cdfb.tar.gz
CMake-095f49ec36b49a695344b2e7c8f610b1c326cdfb.tar.bz2
Merge topic 'enable_language-CMP0126' into release-3.21
3ddd7f3576 enable_language: Fix test for working compiler with CMP0126 NEW behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6355
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CSharpOnly/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CSharpOnly/CMakeLists.txt b/Tests/CSharpOnly/CMakeLists.txt
index f7928b6..efac58c 100644
--- a/Tests/CSharpOnly/CMakeLists.txt
+++ b/Tests/CSharpOnly/CMakeLists.txt
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 3.3)
+if(POLICY CMP0126)
+ cmake_policy(SET CMP0126 NEW)
+endif()
# a simple CSharp only test case
project (CSharpOnly CSharp)