Ver Fonte

Merge topic 'FindPython-CMP0007-NEW'

486b3c0850 FindPython: Policy CMP0007 must be set to NEW

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8104
Brad King há 2 anos atrás
pai
commit
caf5aea63f
1 ficheiros alterados com 2 adições e 0 exclusões
  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