ZLIB.cmake 445 B

12345678910
  1. prusaslicer_add_cmake_project(ZLIB
  2. GIT_REPOSITORY https://github.com/madler/zlib.git
  3. GIT_TAG v1.2.11
  4. PATCH_COMMAND ${GIT_EXECUTABLE} checkout -f -- . && git clean -df &&
  5. ${GIT_EXECUTABLE} apply --whitespace=fix ${CMAKE_CURRENT_LIST_DIR}/0001-Respect-BUILD_SHARED_LIBS.patch
  6. CMAKE_ARGS
  7. -DSKIP_INSTALL_FILES=ON # Prevent installation of man pages et al.
  8. -DCMAKE_POSITION_INDEPENDENT_CODE=ON
  9. )