MDEV-29955 post-fix - add CMake policy CMP0074, so ZLIB_ROOT is not ignored

This commit is contained in:
Vladislav Vaintroub
2024-05-04 10:06:11 +02:00
parent 22d4fbeb62
commit 6f003b5d07

View File

@ -31,7 +31,7 @@ ENDIF()
# in RPM's:
#set(CPACK_RPM_SPEC_MORE_DEFINE "%define __spec_install_post /bin/true")
FOREACH(p CMP0022 CMP0046 CMP0040 CMP0048 CMP0054 CMP0075 CMP0069 CMP0135)
FOREACH(p CMP0022 CMP0046 CMP0040 CMP0048 CMP0054 CMP0074 CMP0075 CMP0069 CMP0135)
IF(POLICY ${p})
CMAKE_POLICY(SET ${p} NEW)
ENDIF()