From 04f694149811342f67feaf0ed26e37def0e2ed1f Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Mon, 12 Feb 2024 19:52:43 -0600 Subject: [PATCH] Set CMake policy CMP0135 to OLD We really don't care about this behavior, so just keep the OLD behavior to silence the warning. --- cmake/BundlePCRE.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/BundlePCRE.cmake b/cmake/BundlePCRE.cmake index 3d9a9b1..54668f6 100644 --- a/cmake/BundlePCRE.cmake +++ b/cmake/BundlePCRE.cmake @@ -1,5 +1,7 @@ include(ExternalProject) +cmake_policy(SET CMP0135 OLD) + set(PCRE_TARGET_VERSION "10.42") set(PCRE_DIR ${CMAKE_CURRENT_BINARY_DIR}/pcre2) set(PCRE_C_FLAGS ${CMAKE_C_FLAGS})