summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-05-31 11:00:47 +0200
committerSergei Golubchik <serg@mariadb.org>2020-05-31 11:29:43 +0200
commit4832b751ad47626f236e25067508230df72749e6 (patch)
tree93a4d60530e573c9ee78d4439d8f6417ae9ec363 /CMakeLists.txt
parent38ea795bb622cce6f7178291ed737ca7396a124a (diff)
downloadmariadb-git-4832b751ad47626f236e25067508230df72749e6.tar.gz
cmake: quieter
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 097d79fa5e7..13d9b1be546 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,9 @@ IF(CMAKE_VERSION VERSION_EQUAL "3.0.0" OR
CMAKE_POLICY(SET CMP0045 OLD)
CMAKE_POLICY(SET CMP0042 OLD)
ENDIF()
+IF(POLICY CMP0048)
+ CMAKE_POLICY(SET CMP0048 NEW)
+ENDIF()
IF(POLICY CMP0054)
CMAKE_POLICY(SET CMP0054 NEW)
ENDIF()