mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:59:08 +08:00
81947d1b54
* [exiv2] Update to 0.28 * Fix static build usage
18 lines
544 B
Diff
18 lines
544 B
Diff
diff --git a/cmake/findDependencies.cmake b/cmake/findDependencies.cmake
|
|
index 664522c2a..cbfa5d908 100644
|
|
--- a/cmake/findDependencies.cmake
|
|
+++ b/cmake/findDependencies.cmake
|
|
@@ -30,10 +30,12 @@ endif()
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/")
|
|
|
|
+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()
|
|
|
|
find_package(Filesystem REQUIRED)
|
|
|