summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2015-03-06 00:04:14 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2015-03-06 20:36:45 +0100
commit45f2e84a7de52f55fc1b41fefbc1b71a40d7a4eb (patch)
tree4f7064f4b424a35f51789ecc7211f68a8b363b5f /cmake
parentd46f7bac0dc3cb8ac38cd6a655f9d75cb89aef22 (diff)
cmake: @VAR@ substitutions in set() are deprecated, use string(CONFIGURE) instead (policy CMP0053)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89450 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 6fbfb40d..309cdb2e 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -15,6 +15,7 @@ endif(COMMAND cmake_policy)
if(CMAKE_MAJOR_VERSION GREATER 2)
cmake_policy(SET CMP0026 NEW)
cmake_policy(SET CMP0053 NEW)
+ cmake_policy(SET CMP0054 NEW)
endif()
# detect version