Fix patching for ZLIB

This commit is contained in:
tamasmeszaros 2021-03-24 15:40:41 +01:00
parent a06019f099
commit db2951c8c3
3 changed files with 23 additions and 21 deletions

3
deps/CMakeLists.txt vendored
View file

@ -52,6 +52,9 @@ message(STATUS "PrusaSlicer deps debug build: ${DEP_DEBUG}")
find_package(Git REQUIRED)
# The default command line for patching. Only works for newer
set(PATCH_CMD ${GIT_EXECUTABLE} apply --verbose --ignore-space-change --whitespace=fix)
get_property(_is_multi GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
function(prusaslicer_add_cmake_project projectname)