aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/ECMCheckOutboundLicense.cmake3
-rw-r--r--tests/ExecuteCoreModules/CMakeLists.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/ECMCheckOutboundLicense.cmake b/modules/ECMCheckOutboundLicense.cmake
index 63e7ca01..0397a023 100644
--- a/modules/ECMCheckOutboundLicense.cmake
+++ b/modules/ECMCheckOutboundLicense.cmake
@@ -65,6 +65,8 @@
# SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
# SPDX-License-Identifier: BSD-3-Clause
+include(FeatureSummary)
+
option(SKIP_LICENSE_TESTS "Skip outbound license tests" OFF)
find_package(Python3)
@@ -72,6 +74,7 @@ set_package_properties(Python3 PROPERTIES
PURPOSE "Required to run tests of module ECMCheckOutboundLicense"
TYPE OPTIONAL
)
+
find_package(ReuseTool)
set_package_properties(ReuseTool PROPERTIES
PURPOSE "Required to run tests of module ECMCheckOutboundLicense"
diff --git a/tests/ExecuteCoreModules/CMakeLists.txt b/tests/ExecuteCoreModules/CMakeLists.txt
index d264fd7a..33dbc401 100644
--- a/tests/ExecuteCoreModules/CMakeLists.txt
+++ b/tests/ExecuteCoreModules/CMakeLists.txt
@@ -4,6 +4,7 @@ cmake_minimum_required(VERSION 3.5)
file(GLOB all_core_modules "${CMAKE_CURRENT_SOURCE_DIR}/../../modules/*cmake")
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../modules)
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../find-modules)
foreach(module ${all_core_modules})
message(STATUS "module: ${module}")