diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2021-07-22 13:38:50 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2021-07-26 14:07:20 +0300 |
commit | ca67d880ec6003c27c63242cca8c9a668c3ddebe (patch) | |
tree | 404e0d85e7af930dab61e0b0b8e6144210cdec20 /CMakeLists.txt | |
parent | 7ed0d6b88632fc729401bb34abf9d98ef334e251 (diff) |
Fix issues with finding new deps on win
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
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) |