diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,6 +51,19 @@ add_subdirectory(autotests) add_subdirectory(tests) +find_package(FontNotoSans) +set_package_properties(FontNotoSans PROPERTIES + PURPOSE "Default sans-serif font." + URL "https://www.google.com/get/noto/" + TYPE RUNTIME +) +find_package(FontHack) +set_package_properties(FontHack PROPERTIES + PURPOSE "Default monospace font." + URL "http://sourcefoundry.org/hack/" + TYPE RUNTIME +) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) -message("** plasma-integration uses Noto Sans (https://www.google.com/get/noto/) and Hack (http://sourcefoundry.org/hack/) fonts, ensure these are installed for use at runtime") +# If you add a runtime dep message that is not communicated via feature_summary, +# I will make it my life's goal to make your life hell. Promise. - sitter, 2016