diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/ECMCheckOutboundLicenseTest/CMakeLists.txt | 6 |
2 files changed, 5 insertions, 4 deletions
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 |