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:
authorbubnikv <bubnikv@gmail.com>2019-03-28 13:20:48 +0300
committerbubnikv <bubnikv@gmail.com>2019-03-28 13:20:48 +0300
commitba89a3d1abaf760022d9f41c0331dd361ddfded7 (patch)
treee2a65454e17165540edc690e66f4f1fe7a6019b8 /src/CMakeLists.txt
parentfc49abc2a429aea438ef70301df94ff8155afdc0 (diff)
Removed dependency on libz on Windows.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7599f68a0..45d6f8196 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -97,7 +97,10 @@ if (SLIC3R_GUI)
# Configure libcurl and its dependencies OpenSSL & zlib
find_package(CURL REQUIRED)
- find_package(ZLIB REQUIRED)
+ if (NOT MSVC)
+ # Required by libcurl
+ find_package(ZLIB REQUIRED)
+ endif()
target_include_directories(slic3r PRIVATE ${CURL_INCLUDE_DIRS})
target_link_libraries(slic3r ${CURL_LIBRARIES} ${ZLIB_LIBRARIES})
if (SLIC3R_STATIC)