Skip to content

Commit

Permalink
COMP: Update TIFF external project explicitly enabling or disabling c…
Browse files Browse the repository at this point in the history
…odecs

This change explicitly enables or disables codecs. By disabling unused
or unavailable codecs, we can ensure that the library is not built with
dependencies that are either not distributed or not available on the target
system.
  • Loading branch information
jcfr committed Jun 23, 2023
1 parent 48286c3 commit 17c5482
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Superbuild/External_TIFF.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ if((NOT DEFINED TIFF_INCLUDE_DIR
-Dtiff_BUILD_CONTRIB:BOOL=OFF
-Dtiff_BUILD_MAN:BOOL=OFF
-Dtiff_BUILD_HTMLDOC:BOOL=OFF
# Codec options
-Dlibdeflate:BOOL=OFF
-Djbig:BOOL=OFF
-Djpeg:BOOL=OFF
-Dold-jpeg:BOOL=OFF
-Djpeg12:BOOL=OFF
-Dlerc:BOOL=OFF
-Dlzma:BOOL=OFF
-Dwebp:BOOL=OFF
-Dzlib:BOOL=ON # Assumed to be available on the system
-Dzstd:BOOL=OFF
# Install directories
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DCMAKE_INSTALL_BINDIR:STRING=${Autoscoper_BIN_DIR}
Expand Down

0 comments on commit 17c5482

Please sign in to comment.