Fix zlib on msvc

This commit is contained in:
tamasmeszaros 2019-12-11 13:59:17 +01:00
parent 4a4d8b4e26
commit 4282c57069
3 changed files with 4 additions and 4 deletions

5
deps/CMakeLists.txt vendored
View file

@ -45,6 +45,9 @@ option(DEP_WX_STABLE "Build against wxWidgets stable 3.0 as opposed to default 3
message(STATUS "PrusaSlicer deps DESTDIR: ${DESTDIR}")
message(STATUS "PrusaSlicer deps debug build: ${DEP_DEBUG}")
find_package(Git REQUIRED)
function(prusaslicer_add_cmake_project projectname)
cmake_parse_arguments(P_ARGS "" "INSTALL_DIR;BUILD_COMMAND;INSTALL_COMMAND" "CMAKE_ARGS" ${ARGN})
@ -137,7 +140,7 @@ if (MSVC)
dep_cereal
dep_nlopt
# dep_qhull # Experimental
dep_zlib # on Windows we still need zlib
dep_ZLIB # on Windows we still need zlib
dep_openvdb
dep_OpenCSG
)