diff options
author | Miguel Medalha <medalist@sapo.pt> | 2021-04-18 16:50:59 +0000 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2021-04-18 16:50:59 +0000 |
commit | 8de5ee57be03054c4125f17ecb24296a62077606 (patch) | |
tree | 02efd7b6a7f0787c4d111a5780ff9b2453c32462 /cmake | |
parent | d8ae5539ccf299c5c2173a435a4c44399e11b8c7 (diff) | |
download | libtiff-git-8de5ee57be03054c4125f17ecb24296a62077606.tar.gz |
Make LERC_SUPPORT conditional on ZLIB_SUPPORT. Make display of lerc options in tiffcp depend on actual zstd support.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/LERCCodec.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/LERCCodec.cmake b/cmake/LERCCodec.cmake index 7344bfa5..54504ca1 100644 --- a/cmake/LERCCodec.cmake +++ b/cmake/LERCCodec.cmake @@ -27,6 +27,6 @@ set(LERC_SUPPORT FALSE) find_package(LERC) option(lerc "use libLerc (required for LERC compression)" ${LERC_FOUND}) -if (lerc AND LERC_FOUND) +if (lerc AND LERC_FOUND AND ZIP_SUPPORT) set(LERC_SUPPORT TRUE) endif() |