libtiff: Merge branch 'cmake_tiff_install_warning' into 'master'

From 1e5e7f346b1e24d1b09e4b524289f0a7c780c270 Mon Sep 17 00:00:00 2001
From: Even Rouault <[EMAIL REDACTED]>
Date: Sun, 13 Nov 2022 17:27:54 +0100
Subject: [PATCH] CMakeLists.txt: fix warning with -Wdev

CMake Warning (dev) at CMakeLists.txt:62 (option):
Policy CMP0077 is not set: option() honors normal variables. Run “cmake
–help-policy CMP0077” for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable ‘tiff-install’.
This warning is for project developers. Use -Wno-dev to suppress it.

---
 CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f346627..d518f004 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,6 @@ if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
   option(BUILD_SHARED_LIBS "Build shared libraries" ON)
 else()
   set(TIFF_INSTALL_DEFAULT ON)
-  set(tiff-install ON)
 endif()
 
 option(tiff-tools "build TIFF tools" ON)