From: Ralf Habacker Date: Thu, 5 Mar 2015 23:04:14 +0000 (+0100) Subject: cmake: @VAR@ substitutions in set() are deprecated, use string(CONFIGURE) instead... X-Git-Tag: dbus-1.9.16~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45f2e84a7de52f55fc1b41fefbc1b71a40d7a4eb;p=thirdparty%2Fdbus.git 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 --- diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 6fbfb40df..309cdb2e8 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