blob: 81df003d9d158a9fbdb96765398c09bca7732f93 (
plain)
1
2
3
4
5
6
7
|
include(CMakeDependentOption)
cmake_policy(SET CMP0127 OLD)
set(FOO "lower")
cmake_dependent_option(USE_FOO "Use Foo" ON "FOO MATCHES (UPPER|lower)" OFF)
message(STATUS "USE_FOO='${USE_FOO}'")
|