vcpkg/ports/proj/fix-proj4-targets-cmake.patch
2024-03-26 11:29:05 -07:00

13 lines
378 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d736d129..2be8f8be9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -151,6 +165,7 @@ if(ENABLE_TIFF)
find_package(TIFF REQUIRED)
if(TIFF_FOUND)
set(TIFF_ENABLED TRUE)
+ set(TIFF_LIBRARY TIFF::TIFF)
else()
message(SEND_ERROR
"libtiff dependency not found! Use ENABLE_TIFF=OFF to force it off")