summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-24 14:18:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-01-24 14:19:14 (GMT)
commit4db877ce9ae43a8a6b496a7ab3ef9568b6049a4f (patch)
tree2854e99f35d4b1a7c738a60339d7469ca0e23c96
parent3563d461dd99bd023e646ce3d45c994a83c239ca (diff)
parent486b3c0850528fc3dd7e9a0c0615a4150ef81827 (diff)
downloadCMake-4db877ce9ae43a8a6b496a7ab3ef9568b6049a4f.zip
CMake-4db877ce9ae43a8a6b496a7ab3ef9568b6049a4f.tar.gz
CMake-4db877ce9ae43a8a6b496a7ab3ef9568b6049a4f.tar.bz2
Merge topic 'FindPython-CMP0007-NEW' into release-3.25
486b3c0850 FindPython: Policy CMP0007 must be set to NEW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8104
-rw-r--r--Modules/FindPython/Support.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake
index 7a127e4..37ca38f 100644
--- a/Modules/FindPython/Support.cmake
+++ b/Modules/FindPython/Support.cmake
@@ -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