mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Suppress MSVC 2015 warnings about hidden/deleted base class move constructors and move assignment operators.
This commit is contained in:
parent
19af94b73e
commit
65df15a89d
@ -704,6 +704,11 @@ if (WIN32)
|
||||
4800 # Boolean optimization warning, e.g. myBool = (myInt != 0) instead of myBool = myInt
|
||||
)
|
||||
|
||||
# MSVC 2015
|
||||
if (MSVC_VERSION GREATER 1899)
|
||||
set(WARNINGS_DISABLE ${WARNINGS_DISABLE} 5026 5027)
|
||||
endif()
|
||||
|
||||
foreach(d ${WARNINGS_DISABLE})
|
||||
set(WARNINGS "${WARNINGS} /wd${d}")
|
||||
endforeach(d)
|
||||
|
Loading…
x
Reference in New Issue
Block a user