diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-01-21 14:08:21 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-01-21 14:08:21 (GMT) |
commit | 486b3c0850528fc3dd7e9a0c0615a4150ef81827 (patch) | |
tree | 7453d4ecfc8fc230e16f9a61bd6fc498da3ff679 | |
parent | e2be23a2b39f4380f32fe65ba770addc154579c7 (diff) | |
download | CMake-486b3c0850528fc3dd7e9a0c0615a4150ef81827.zip CMake-486b3c0850528fc3dd7e9a0c0615a4150ef81827.tar.gz CMake-486b3c0850528fc3dd7e9a0c0615a4150ef81827.tar.bz2 |
FindPython: Policy CMP0007 must be set to NEW
Fixes: #24306
-rw-r--r-- | Modules/FindPython/Support.cmake | 2 |
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 |