2023-08-18 05:29:08 +08:00
|
|
|
diff --git a/cmake/findDependencies.cmake b/cmake/findDependencies.cmake
|
2023-11-16 09:02:47 +08:00
|
|
|
index 67a6cfd..d5006ff 100644
|
2023-08-18 05:29:08 +08:00
|
|
|
--- a/cmake/findDependencies.cmake
|
|
|
|
+++ b/cmake/findDependencies.cmake
|
|
|
|
@@ -30,10 +30,12 @@ endif()
|
|
|
|
|
2023-11-16 09:02:47 +08:00
|
|
|
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/")
|
2023-08-18 05:29:08 +08:00
|
|
|
|
|
|
|
+if(EXIV2_BUILD_UNIT_TESTS)
|
|
|
|
find_package (Python3 COMPONENTS Interpreter)
|
|
|
|
if (NOT Python3_Interpreter_FOUND)
|
|
|
|
message(WARNING "Python3 was not found. Python tests under the 'tests' folder will not be executed")
|
|
|
|
endif()
|
|
|
|
+endif()
|
|
|
|
|
2023-11-16 09:02:47 +08:00
|
|
|
find_package(Filesystem COMPONENTS Experimental Final REQUIRED)
|
2023-08-18 05:29:08 +08:00
|
|
|
|