Explorar o código

Merge topic 'FindPython-CMP0007-NEW' into release-3.25

486b3c0850 FindPython: Policy CMP0007 must be set to NEW

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8104
Brad King %!s(int64=3) %!d(string=hai) anos
pai
achega
4db877ce9a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      Modules/FindPython/Support.cmake

+ 2 - 0
Modules/FindPython/Support.cmake

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