Sign in
fuchsia
/
third_party
/
cmake
/
refs/tags/v3.23.0-rc5
/
.
/
Tests
/
RunCMake
/
CMakeDependentOption
/
Regex-CMP0127-NEW.cmake
blob: e92c1e697f19d2fb9582ece27050066b59231842 [
file
] [
log
] [
blame
]
include
(
CMakeDependentOption
)
cmake_policy
(
SET CMP0127 NEW
)
set
(
FOO
"lower"
)
cmake_dependent_option
(
USE_FOO
"Use Foo"
ON
"FOO MATCHES \"(UPPER|lower)\""
OFF
)
message
(
STATUS
"USE_FOO='${USE_FOO}'"
)