cmake: @VAR@ substitutions in set() are deprecated, use string(CONFIGURE) instead...
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 5 Mar 2015 23:04:14 +0000 (00:04 +0100)
committerRalf Habacker <ralf.habacker@freenet.de>
Fri, 6 Mar 2015 19:36:45 +0000 (20:36 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89450
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
cmake/CMakeLists.txt

index 6fbfb40..309cdb2 100644 (file)
@@ -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