mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
If a feature is added multiple times via ADD_FEATURE_INFO it should appear only once in FEATURE_SUMMARY. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
9 lines
184 B
CMake
9 lines
184 B
CMake
include(FeatureSummary)
|
|
|
|
set(WITH_FOO 1)
|
|
|
|
add_feature_info(Foo WITH_FOO "Foo decscription.")
|
|
add_feature_info(Foo WITH_FOO "Foo decscription.")
|
|
|
|
feature_summary(WHAT ENABLED_FEATURES)
|