Skip to content

Commit

Permalink
Set CMake policy CMP0135 to OLD
Browse files Browse the repository at this point in the history
We really don't care about this behavior, so just keep the OLD behavior
to silence the warning.
  • Loading branch information
cottsay committed Feb 13, 2024
1 parent f88a169 commit 1dea0c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/BundlePCRE.cmake
Original file line number Diff line number Diff line change
@@ -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})
Expand Down

0 comments on commit 1dea0c4

Please sign in to comment.