citra-emu
/
citra-canary
Archived
1
0
Fork 0

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.
This commit is contained in:
zhupengfei 2018-07-27 14:34:39 +08:00
parent b4524eb70b
commit 5d7ccfb920
No known key found for this signature in database
GPG Key ID: 85B82A3E62174206
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,9 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON) set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules)
if (POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)
endif()
add_executable(citra-qt add_executable(citra-qt
Info.plist Info.plist