From 5a15e74cf714a3e4d3a4fe559be2f09e0fa979cf Mon Sep 17 00:00:00 2001 From: Squareys Date: Tue, 3 Oct 2017 12:05:19 +0200 Subject: [PATCH] CMake: quoted variables should not be dereferenced. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2990218e1..87616bef8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,10 @@ endif() if(POLICY CMP0042) cmake_policy(SET CMP0042 NEW) endif() +# Quoted variables should not be dereferenced +if(POLICY CMP0054) + cmake_policy(SET CMP0054 NEW) +endif() # Use folders for nice tree in Visual Studio and XCode set_property(GLOBAL PROPERTY USE_FOLDERS ON)