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:16 (GMT)
commitcaf5aea63fe522e65001f997f2e4adeae44ceaa9 (patch)
tree97515cce95e31118940836049b80de5d053aa865
parentba5d255b1cb0d69e178a6ed124b240bcc9091a36 (diff)
parent486b3c0850528fc3dd7e9a0c0615a4150ef81827 (diff)
downloadCMake-caf5aea63fe522e65001f997f2e4adeae44ceaa9.zip
CMake-caf5aea63fe522e65001f997f2e4adeae44ceaa9.tar.gz
CMake-caf5aea63fe522e65001f997f2e4adeae44ceaa9.tar.bz2
Merge topic 'FindPython-CMP0007-NEW'
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 069bc31..1b3056f 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