mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 14:55:08 -06:00
Fix issues with finding new deps on win
This commit is contained in:
parent
7ed0d6b886
commit
ca67d880ec
3 changed files with 5 additions and 2 deletions
|
@ -389,10 +389,13 @@ find_package(CURL REQUIRED)
|
|||
add_library(libcurl INTERFACE)
|
||||
target_link_libraries(libcurl INTERFACE CURL::libcurl)
|
||||
|
||||
# Fixing curl's cmake config script bugs
|
||||
if (NOT WIN32)
|
||||
# Required by libcurl
|
||||
find_package(ZLIB REQUIRED)
|
||||
target_link_libraries(libcurl INTERFACE ZLIB::ZLIB)
|
||||
else()
|
||||
target_link_libraries(libcurl INTERFACE crypt32)
|
||||
endif()
|
||||
|
||||
if (SLIC3R_STATIC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue