Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2021-07-22 13:38:50 +0300
committertamasmeszaros <meszaros.q@gmail.com>2021-07-26 14:07:20 +0300
commitca67d880ec6003c27c63242cca8c9a668c3ddebe (patch)
tree404e0d85e7af930dab61e0b0b8e6144210cdec20 /CMakeLists.txt
parent7ed0d6b88632fc729401bb34abf9d98ef334e251 (diff)
Fix issues with finding new deps on win
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8b9add60..268380dc2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)