Browse Source

CMake: quoted variables should not be dereferenced.

pull/218/head
Squareys 9 years ago committed by Vladimír Vondruš
parent
commit
5a15e74cf7
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -40,6 +40,10 @@ endif()
if(POLICY CMP0042) if(POLICY CMP0042)
cmake_policy(SET CMP0042 NEW) cmake_policy(SET CMP0042 NEW)
endif() 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 # Use folders for nice tree in Visual Studio and XCode
set_property(GLOBAL PROPERTY USE_FOLDERS ON) set_property(GLOBAL PROPERTY USE_FOLDERS ON)

Loading…
Cancel
Save