1
0
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:
cc9cii 2015-12-06 15:26:20 +11:00
parent 19af94b73e
commit 65df15a89d

View File

@ -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)