aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/ECMCheckOutboundLicense.cmake1
-rw-r--r--tests/CMakeLists.txt3
-rw-r--r--tests/ECMCheckOutboundLicenseTest/CMakeLists.txt6
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/ECMCheckOutboundLicense.cmake b/modules/ECMCheckOutboundLicense.cmake
index 0397a023..c49a190d 100644
--- a/modules/ECMCheckOutboundLicense.cmake
+++ b/modules/ECMCheckOutboundLicense.cmake
@@ -130,7 +130,6 @@ function(ecm_check_outbound_license)
# generate file with list of relative file paths
string(REPLACE "${CMAKE_BINARY_DIR}/" "" RELATIVE_PREFIX_PATH ${CMAKE_CURRENT_BINARY_DIR})
set(OUTPUT_FILE ${CMAKE_BINARY_DIR}/licensecheck_${ARG_TEST_NAME}.txt)
- message(STATUS "Generate test input file: ${OUTPUT_FILE}")
file(REMOVE ${OUTPUT_FILE})
foreach(_file ${ARG_FILES})
# check script expects files to start with "./", which must be relative to CMAKE_SOURCE_DIR
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index fff7d988..b2143ec9 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -60,9 +60,6 @@ endmacro()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/find-modules)
-# enforce finding of ReuseTool in parent scope of module, beause
-# only here the module path can point into the source directory
-find_package(ReuseTool)
add_subdirectory(ECMCheckOutboundLicenseTest)
# Skip if PyQt not available
diff --git a/tests/ECMCheckOutboundLicenseTest/CMakeLists.txt b/tests/ECMCheckOutboundLicenseTest/CMakeLists.txt
index 1aab9a58..454e7991 100644
--- a/tests/ECMCheckOutboundLicenseTest/CMakeLists.txt
+++ b/tests/ECMCheckOutboundLicenseTest/CMakeLists.txt
@@ -1,5 +1,9 @@
set(ECM_MODULE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../modules)
-set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../modules)
+set(CMAKE_MODULE_PATH
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../modules
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../find-modules
+)
+
include(ECMCheckOutboundLicense)
# check relative and absolute input paths