Quitened down VS warnings

This commit is contained in:
Björn Blissing 2016-06-06 13:12:43 +01:00 committed by Robert Osfield
parent 27caa9c1b1
commit ff0ae07bb7

View File

@ -34,6 +34,13 @@ SET(TARGET_H
lib3ds/lib3ds.h
lib3ds/lib3ds_impl.h
)
IF (MSVC)
#disable specific warning level 4 warnings:
#C4456 declaration of 'c' hides previous local declaration
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4456")
ENDIF(MSVC)
#### end var setup ###
SETUP_PLUGIN(3ds)
ADD_DEFINITIONS( -DLIB3DS_STATIC ) # lib3ds is included, so we need the flag