mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
CMakeLists: CMAKE_CXX_STANDARD as no effect on MSVC until CMake 3.10
We add the /std:c++latest flag to DYNARMIC_CXX_FLAGS to fix this.
This commit is contained in:
parent
f61da0b5a9
commit
cde2d48eb9
@ -41,6 +41,7 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/CMakeModules")
|
|||||||
# Compiler flags
|
# Compiler flags
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(DYNARMIC_CXX_FLAGS
|
set(DYNARMIC_CXX_FLAGS
|
||||||
|
/std:c++latest # CMAKE_CXX_STANDARD as no effect on MSVC until CMake 3.10.
|
||||||
/W4
|
/W4
|
||||||
/w34263 # Non-virtual member function hides base class virtual function
|
/w34263 # Non-virtual member function hides base class virtual function
|
||||||
/w44265 # Class has virtual functions, but destructor is not virtual
|
/w44265 # Class has virtual functions, but destructor is not virtual
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user