libtiff: cmake: Correct duplicate definition of _CRT_SECURE_NO_WARNINGS

From 7da8c385e09aab445878b1afe3ff979de9183011 Mon Sep 17 00:00:00 2001
From: Roger Leigh <[EMAIL REDACTED]>
Date: Wed, 13 Jul 2022 21:11:28 +0100
Subject: [PATCH] cmake: Correct duplicate definition of
 _CRT_SECURE_NO_WARNINGS

---
 cmake/WindowsSupport.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/WindowsSupport.cmake b/cmake/WindowsSupport.cmake
index 4161880c..a60bba9b 100644
--- a/cmake/WindowsSupport.cmake
+++ b/cmake/WindowsSupport.cmake
@@ -28,7 +28,7 @@ if(MSVC)
     set(CMAKE_DEBUG_POSTFIX "d")
 
     # disable deprecation warnings
-    add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
+    add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
     # suppress deprecation warning for MSVC POSIX names
     add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)