1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-17 07:11:52 +08:00

FindPython: Policy CMP0007 must be set to NEW

Fixes: #24306
This commit is contained in:
Marc Chevrier
2023-01-21 15:08:21 +01:00
parent e2be23a2b3
commit 486b3c0850

View File

@@ -10,6 +10,8 @@
#
cmake_policy(PUSH)
# list supports empty elements
cmake_policy (SET CMP0007 NEW)
# numbers and boolean constants
cmake_policy (SET CMP0012 NEW)
# IN_LIST operator