Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Respect BUILD_TESTING

parent 6883c5eb
......@@ -16,7 +16,10 @@ include(ECMAddTests)
include(KDEPackageAppTemplates)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Test)
if (BUILD_TESTING)
find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Test)
endif()
find_package(KF5 ${KF_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
ConfigWidgets
......@@ -33,6 +36,9 @@ add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_subdirectory(doc)
add_subdirectory(icons)
add_subdirectory(src)
add_subdirectory(tests)
if (BUILD_TESTING)
add_subdirectory(tests)
endif()
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES 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