mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 05:27:56 +08:00
13 lines
415 B
Diff
13 lines
415 B
Diff
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -792,7 +792,8 @@ if(OpenCL_FOUND)
|
||
|
target_link_libraries(libtesseract PUBLIC OpenCL::OpenCL)
|
||
|
endif()
|
||
|
if(LibArchive_FOUND)
|
||
|
- target_link_libraries(libtesseract PUBLIC ${LibArchive_LIBRARIES})
|
||
|
+ find_package(LibArchive REQUIRED)
|
||
|
+ target_link_libraries(libtesseract PRIVATE LibArchive::LibArchive)
|
||
|
endif(LibArchive_FOUND)
|
||
|
if(CURL_FOUND)
|
||
|
if(NOT CURL_LIBRARIES)
|