summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2022-09-07 16:41:21 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2022-09-07 16:41:21 +0200
commitbd7ff02a6aef2dcb0eb67b2e9a4e48370c438355 (patch)
treebe1769f2724ff7c4c0b63294148e9d37444e3987
parent7d63f21693ab06f59be47385293064fe8fa1c02e (diff)
downloadmariadb-git-bd7ff02a6aef2dcb0eb67b2e9a4e48370c438355.tar.gz
Fix CMake 3.24 warning by setting a policy
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d5074a97503..06ff1cc662e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,7 +33,7 @@ PROJECT(MySQL)
# in RPM's:
#set(CPACK_RPM_SPEC_MORE_DEFINE "%define __spec_install_post /bin/true")
-FOREACH(p CMP0022 CMP0046 CMP0040 CMP0048 CMP0054 CMP0075 CMP0069)
+FOREACH(p CMP0022 CMP0046 CMP0040 CMP0048 CMP0054 CMP0075 CMP0069 CMP0135)
IF(POLICY ${p})
CMAKE_POLICY(SET ${p} NEW)
ENDIF()