From 1dea0c40f94280c2d431ffbc96582a972455a599 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 8dc9366..8652ad4 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})