mirror of
https://github.com/reactos/CMake.git
synced 2025-01-07 11:40:23 +00:00
38ef2b7363
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)
|