summaryrefslogtreecommitdiff
path: root/Modules/FindPython
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-24 14:18:47 +0000
committerKitware Robot <kwrobot@kitware.com>2023-01-24 09:19:16 -0500
commitcaf5aea63fe522e65001f997f2e4adeae44ceaa9 (patch)
tree97515cce95e31118940836049b80de5d053aa865 /Modules/FindPython
parentba5d255b1cb0d69e178a6ed124b240bcc9091a36 (diff)
parent486b3c0850528fc3dd7e9a0c0615a4150ef81827 (diff)
downloadcmake-caf5aea63fe522e65001f997f2e4adeae44ceaa9.tar.gz
Merge topic 'FindPython-CMP0007-NEW'
486b3c0850 FindPython: Policy CMP0007 must be set to NEW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8104
Diffstat (limited to 'Modules/FindPython')
-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 069bc31755..1b3056f901 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