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

@@ -20,6 +20,8 @@ cmake_policy (SET CMP0057 NEW)
cmake_policy (SET CMP0124 NEW)
# registry view behavior
cmake_policy (SET CMP0134 NEW)
# file(STRINGS) with REGEX updates CMAKE_MATCH_<n>
cmake_policy(SET CMP0159 NEW)
if (NOT DEFINED _PYTHON_PREFIX)
message (FATAL_ERROR "FindPython: INTERNAL ERROR")