diff options
author | bubnikv <bubnikv@gmail.com> | 2019-03-28 13:20:48 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-03-28 13:20:48 +0300 |
commit | ba89a3d1abaf760022d9f41c0331dd361ddfded7 (patch) | |
tree | e2a65454e17165540edc690e66f4f1fe7a6019b8 /src/CMakeLists.txt | |
parent | fc49abc2a429aea438ef70301df94ff8155afdc0 (diff) |
Removed dependency on libz on Windows.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
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) |