diff options
author | Brad King <brad.king@kitware.com> | 2021-07-19 20:28:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-07-20 13:47:02 (GMT) |
commit | 144be54dd31ad1320e3efa9b2b30876dcadd590a (patch) | |
tree | dc5f0b80d11162a245e6c5b1b1c98db5f38be997 /Tests/RunCMake/ToolchainFile/CMP0126-NEW.cmake | |
parent | 4ff651eb52215ca0e1ffe5e5356b56b57913fee0 (diff) | |
download | CMake-144be54dd31ad1320e3efa9b2b30876dcadd590a.zip CMake-144be54dd31ad1320e3efa9b2b30876dcadd590a.tar.gz CMake-144be54dd31ad1320e3efa9b2b30876dcadd590a.tar.bz2 |
try_compile: Propagate CMP0126 to the generated test project
Set policy CMP0126 to the value used in the calling project.
It may affect toolchain file behavior.
Diffstat (limited to 'Tests/RunCMake/ToolchainFile/CMP0126-NEW.cmake')
-rw-r--r-- | Tests/RunCMake/ToolchainFile/CMP0126-NEW.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/ToolchainFile/CMP0126-NEW.cmake b/Tests/RunCMake/ToolchainFile/CMP0126-NEW.cmake new file mode 100644 index 0000000..62d4df1 --- /dev/null +++ b/Tests/RunCMake/ToolchainFile/CMP0126-NEW.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0126 NEW) +enable_language(C) |