mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 20:29:49 -05:00
6a7d5e414d
Closes: #26468
12 lines
199 B
CMake
12 lines
199 B
CMake
include(FeatureSummary)
|
|
|
|
cmake_policy(SET CMP0183 NEW)
|
|
|
|
set(WITH_FOO 1)
|
|
set(WITH_BAR 1)
|
|
set(WITH_BAZ 0)
|
|
|
|
add_feature_info(Foo "WITH_FOO AND (WITH_BAR OR WITH_BAZ)" "Foo.")
|
|
|
|
feature_summary(WHAT ALL)
|