From 5d7ccfb92068d561eb55002c81ae9491f95aee9f Mon Sep 17 00:00:00 2001 From: zhupengfei Date: Fri, 27 Jul 2018 14:34:39 +0800 Subject: [PATCH] citra_qt/CMakeLists: get rid of a warning This got rid of a warning of CMake Policy CMP0071 not set. In fact, setting it to either OLD or NEW is same for Citra (I tested on MSVC and MinGW), and the OLD option is deprecated, so I am using NEW here. --- src/citra_qt/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index 6c1760d2c8..9e4403200f 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -2,6 +2,9 @@ set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) +if (POLICY CMP0071) + cmake_policy(SET CMP0071 NEW) +endif() add_executable(citra-qt Info.plist