diff options
author | Daniel Schürmann <daschuer@mixxx.org> | 2021-08-29 21:05:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-10 13:46:55 (GMT) |
commit | 059b90a0b4760c3c0bb761870be2a0811f80ce70 (patch) | |
tree | 78875945c1e64300ad5a1d2a40811ef4bb2389af /Tests/RunCMake/CMakeDependentOption/Simple-CMP0127-OLD.cmake | |
parent | ed9abd99772cbdcb2e4dd195eb4a62104ce86c95 (diff) | |
download | CMake-059b90a0b4760c3c0bb761870be2a0811f80ce70.zip CMake-059b90a0b4760c3c0bb761870be2a0811f80ce70.tar.gz CMake-059b90a0b4760c3c0bb761870be2a0811f80ce70.tar.bz2 |
CMakeDependentOption: Introduce policy CMP0127 for full Condition Syntax
Fixes: #22303
Diffstat (limited to 'Tests/RunCMake/CMakeDependentOption/Simple-CMP0127-OLD.cmake')
-rw-r--r-- | Tests/RunCMake/CMakeDependentOption/Simple-CMP0127-OLD.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeDependentOption/Simple-CMP0127-OLD.cmake b/Tests/RunCMake/CMakeDependentOption/Simple-CMP0127-OLD.cmake new file mode 100644 index 0000000..6db2128 --- /dev/null +++ b/Tests/RunCMake/CMakeDependentOption/Simple-CMP0127-OLD.cmake @@ -0,0 +1,6 @@ +include(CMakeDependentOption) + +set(A1 1) +set(bb 1) +cmake_dependent_option(USE_FOO "Use Foo" ON "A1;bb" OFF) +message(STATUS "USE_FOO='${USE_FOO}'") |