disable cmake feature summary after the first run

because the summary is incorrect after the first run anyway
This commit is contained in:
Sergei Golubchik 2021-09-06 09:49:53 +02:00
parent 38648bbbf5
commit f17537579a

View file

@ -515,7 +515,8 @@ FEATURE_SUMMARY(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES VAR MARIADB_FEATURE_
OPTION(FEATURE_SUMMARY "Print feature summary at the end of configure step" ON)
IF (FEATURE_SUMMARY)
MESSAGE_ONCE(SUMMARY "${MARIADB_FEATURE_SUMMARY}")
MESSAGE("${MARIADB_FEATURE_SUMMARY}")
SET(FEATURE_SUMMARY OFF CACHE BOOL "" FORCE)
ENDIF()
IF(NON_DISTRIBUTABLE_WARNING)