mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
cmake: Fix check for CURL_LIBRARIES
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
e1764e1bc8
commit
c3c734e5ab
@ -747,7 +747,7 @@ if(LibArchive_FOUND)
|
||||
target_link_libraries(libtesseract PUBLIC ${LibArchive_LIBRARIES})
|
||||
endif(LibArchive_FOUND)
|
||||
if(CURL_FOUND)
|
||||
if(NOT "${CURL_LIBRARIES}")
|
||||
if(NOT CURL_LIBRARIES)
|
||||
target_link_libraries(libtesseract PUBLIC CURL::libcurl)
|
||||
else()
|
||||
target_link_libraries(libtesseract PUBLIC ${CURL_LIBRARIES})
|
||||
|
Loading…
Reference in New Issue
Block a user