summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-21 15:31:16 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-07-21 15:31:29 (GMT)
commit992467c30c893eb592e4dad1f4d2b59eb9dfe3c4 (patch)
tree9f94af83b777a0c5dacfce94c9ccb95484988342 /Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake
parentdee0b88e770282909716967b9d3f4e626827e4ae (diff)
parent144be54dd31ad1320e3efa9b2b30876dcadd590a (diff)
downloadCMake-992467c30c893eb592e4dad1f4d2b59eb9dfe3c4.zip
CMake-992467c30c893eb592e4dad1f4d2b59eb9dfe3c4.tar.gz
CMake-992467c30c893eb592e4dad1f4d2b59eb9dfe3c4.tar.bz2
Merge topic 'toolchain-CMP0126'
144be54dd3 try_compile: Propagate CMP0126 to the generated test project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6366
Diffstat (limited to 'Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake')
-rw-r--r--Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake b/Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake
new file mode 100644
index 0000000..426e2b1
--- /dev/null
+++ b/Tests/RunCMake/ToolchainFile/CMP0126-WARN.cmake
@@ -0,0 +1,2 @@
+# leave CMP0126 unset
+enable_language(C)