Skip to content

Commit

Permalink
Only call feature_summary when not a submodule
Browse files Browse the repository at this point in the history
Otherwise the feature summary is printed multiple times.
  • Loading branch information
dfaure-kdab committed Dec 13, 2023
1 parent 5592dff commit 7e4b008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,6 @@ endif()
if(${PROJECT_NAME}_IS_ROOT_PROJECT)
# Add uninstall target (not for submodules since parent projects typically have uninstall too)
include(ECMUninstallTarget)
endif()

feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
endif()

0 comments on commit 7e4b008

Please sign in to comment.