mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-29 16:06:44 +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
1 changed files with 5 additions and 0 deletions
|
@ -704,6 +704,11 @@ if (WIN32)
|
||||||
4800 # Boolean optimization warning, e.g. myBool = (myInt != 0) instead of myBool = myInt
|
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})
|
foreach(d ${WARNINGS_DISABLE})
|
||||||
set(WARNINGS "${WARNINGS} /wd${d}")
|
set(WARNINGS "${WARNINGS} /wd${d}")
|
||||||
endforeach(d)
|
endforeach(d)
|
||||||
|
|
Loading…
Reference in a new issue