Commit 630b184f authored by Linus Jahn's avatar Linus Jahn Committed by Jonah Brüchert

CMake: Add feature summary (#109)

This will show the user which libraries are found, which version of them
is being used and which libraries have not been found.
parent 3567abd9
......@@ -34,6 +34,9 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
# CMake modules include
include(FeatureSummary)
include(GNUInstallDirs)
#
# Dependecies
......@@ -47,7 +50,6 @@ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED NO_MODULE COMPONENTS Core Qml Quick
find_package(KF5Kirigami2 REQUIRED)
find_package(Swiften REQUIRED)
find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS signals date_time)
include(GNUInstallDirs)
#
......@@ -164,3 +166,6 @@ if(UNIX AND NOT APPLE)
DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/applications"
)
endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment