DolphinQt/CMake: Silence some warnings

This commit is contained in:
spycrab 2019-05-09 00:18:09 +02:00
parent 53ef641da4
commit 1121a04718
1 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,8 @@ if(WIN32)
OUTPUT_NAME ${Dolphin_NAME}
)
target_compile_options(dolphin-emu PRIVATE "-D_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING")
# Copy Sys dir
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/Data/Sys")
file(GLOB_RECURSE resources RELATIVE "${CMAKE_SOURCE_DIR}/Data" "${CMAKE_SOURCE_DIR}/Data/Sys/*")