Modules: Fix CMP0159 warnings in modules when tracing

Closes: #25829
This commit is contained in:
Juan Ramos
2024-03-29 13:51:59 -07:00
parent 2e3692bde0
commit 3cd64287fe
70 changed files with 290 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ This module will set the following variables if found:
#]=======================================================================]
cmake_policy(PUSH)
cmake_policy(SET CMP0159 NEW) # file(STRINGS) with REGEX updates CMAKE_MATCH_<n>
find_package(PkgConfig QUIET)
pkg_check_modules(PC_SQLite3 QUIET sqlite3)
@@ -75,3 +78,5 @@ if(SQLite3_FOUND)
INTERFACE_INCLUDE_DIRECTORIES "${SQLite3_INCLUDE_DIR}")
endif()
endif()
cmake_policy(POP)