diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2015-03-11 15:41:24 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2015-03-11 15:42:39 +0100 |
commit | 72f246f87d1df7682796f44a111768051b5573d8 (patch) | |
tree | e74abf97c6158d1890471e51d3823e1ba13498e4 | |
parent | f756aead906334407e44f12c4ab52c75aa3d302b (diff) | |
download | dbus-72f246f87d1df7682796f44a111768051b5573d8.tar.gz dbus-72f246f87d1df7682796f44a111768051b5573d8.tar.bz2 dbus-72f246f87d1df7682796f44a111768051b5573d8.zip |
cmake: opt-in to not implicitly expanding variables in if() (policy CMP0054)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89450
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | cmake/CMakeLists.txt | 1 |
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 |