fix(Zip): don't link/find unnecessary components

This commit is contained in:
nyashbox 2024-11-30 23:32:10 +02:00
parent d8a423c832
commit 5649a47373
No known key found for this signature in database
GPG Key ID: B40E74A291D1DFA4
2 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
include(CMakeFindDependencyMacro) include(CMakeFindDependencyMacro)
find_dependency(PocoFoundation) find_dependency(PocoFoundation)
find_dependency(PocoUtil)
find_dependency(PocoXML)
include("${CMAKE_CURRENT_LIST_DIR}/PocoZipTargets.cmake") include("${CMAKE_CURRENT_LIST_DIR}/PocoZipTargets.cmake")

View File

@ -29,4 +29,4 @@ else()
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/data ${CMAKE_CURRENT_BINARY_DIR}/data COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/data ${CMAKE_CURRENT_BINARY_DIR}/data
) )
endif() endif()
target_link_libraries(Zip-testrunner PUBLIC Poco::Zip Poco::Net CppUnit) target_link_libraries(Zip-testrunner PUBLIC Poco::Zip CppUnit)