From 02c6601281ece122cea0695b97584d1ad59eb1d6 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 23 Mar 2021 20:21:37 +0100 Subject: [PATCH] Fine tune libtiff and libjpeg --- deps/JPEG/JPEG.cmake | 3 +++ deps/TIFF/TIFF.cmake | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/deps/JPEG/JPEG.cmake b/deps/JPEG/JPEG.cmake index 05e79e1c1..4c8c0307e 100644 --- a/deps/JPEG/JPEG.cmake +++ b/deps/JPEG/JPEG.cmake @@ -2,4 +2,7 @@ prusaslicer_add_cmake_project(JPEG URL https://github.com/libjpeg-turbo/libjpeg-turbo/archive/refs/tags/2.0.6.zip URL_HASH SHA256=017bdc33ff3a72e11301c0feb4657cb27719d7f97fa67a78ed506c594218bbf1 DEPENDS ${ZLIB_PKG} + CMAKE_ARGS + -DENABLE_SHARED=OFF + -DENABLE_STATIC=ON ) diff --git a/deps/TIFF/TIFF.cmake b/deps/TIFF/TIFF.cmake index bcf5ff37d..f92dd0811 100644 --- a/deps/TIFF/TIFF.cmake +++ b/deps/TIFF/TIFF.cmake @@ -4,4 +4,10 @@ prusaslicer_add_cmake_project(TIFF URL https://gitlab.com/libtiff/libtiff/-/archive/v4.1.0/libtiff-v4.1.0.zip URL_HASH SHA256=c56edfacef0a60c0de3e6489194fcb2f24c03dbb550a8a7de5938642d045bd32 DEPENDS ${ZLIB_PKG} ${PNG_PKG} dep_JPEG + CMAKE_ARGS + -Dlzma:BOOL=OFF + -Dwebp:BOOL=OFF + -Djbig:BOOL=OFF + -Dzstd:BOOL=OFF + -Dpixarlog:BOOL=OFF )