The branch, master has been updated
via 91d2d1f1be6615a02f8d2ac0b90607fb7a3dd770 (commit)
from 5a85740e9701abc4fd439bee10d31b039ea5ed3e (commit)
- Log -----------------------------------------------------------------
commit 91d2d1f1be6615a02f8d2ac0b90607fb7a3dd770
Author: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
Date: Fri Sep 1 11:33:02 2023 +0200
CMake: disable deprecated behavior
Set policies CMP0011, CMP0057, CMP0099 to the new behavior. Since
version 3.27.4 if the policy is not set to the new behavior, CMake
will generate a warning.
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1745dc8..f36912d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,6 +9,23 @@ set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
set(VERSION ${VERSION_STRING})
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+# Support new if() IN_LIST operator
+if(POLICY CMP0057)
+ cmake_policy(SET CMP0057 NEW)
+endif()
+
+# Included scripts do automatic cmake_policy() PUSH and POP
+if(POLICY CMP0011)
+ cmake_policy(SET CMP0011 NEW)
+endif()
+
+# Target link properties INTERFACE_LINK_OPTIONS, INTERFACE_LINK_DIRECTORIES
+# and INTERFACE_LINK_DEPENDS are now transitive over private dependencies
+# of static libraries
+if(POLICY CMP0099)
+ cmake_policy(SET CMP0099 NEW)
+endif()
+
# CMake
if("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo)
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|