From f61039eb117d4480e69cdd76449e63281ab8c08b Mon Sep 17 00:00:00 2001 From: Lieven de Cock Date: Sat, 20 Jul 2024 20:53:29 +0200 Subject: [PATCH 1/2] Remove unneeded cmp0057 new (#867) --- cmake/config.cmake | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmake/config.cmake b/cmake/config.cmake index 7aa968b90..72cea2825 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -38,8 +38,6 @@ check_function_exists("poll" PQXX_HAVE_POLL) set(CMAKE_REQUIRED_LIBRARIES pq) -cmake_policy(SET CMP0057 NEW) - # check_cxx_source_compiles requires CMAKE_REQUIRED_DEFINITIONS to specify # compiling arguments. Workaround: Push CMAKE_REQUIRED_DEFINITIONS if(CMAKE_REQUIRED_DEFINITIONS) From 86f7d62cb101d59df2d788888c90b3a463418860 Mon Sep 17 00:00:00 2001 From: Jeroen Vermeulen Date: Sat, 20 Jul 2024 20:54:31 +0200 Subject: [PATCH 2/2] NEWS. --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f3a04d74b..ac715f4a0 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ - Fix CMake documentation install. (#848) - Bump gcc/clang/postgres minimum version requirements. - Another fix to the readthedocs documentation build. (#845) - - Remove obsolete CMake workaround kludge. (#851, #866) + - Remove obsolete CMake workaround kludges. (#851, #866, #867) - Remove obscure deprecated `stream_to` constructor that never worked. (#853) - Support reading a field as an SQL array using `as_sql_array()`. (#841) - Make row iterator a _proper_ `random_access_iterator`. (#846)