1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 04:45:32 +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)