Added disabling of the C4702 as changing the code would introduce it's own warning.

This commit is contained in:
Robert Osfield
2016-06-06 14:28:41 +01:00
parent c0efaae364
commit b85358b38a

View File

@@ -64,6 +64,11 @@ ELSE()
INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR} )
ENDIF()
IF (MSVC)
#disable specific warning :
#warning C4702: unreachable code
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4702")
ENDIF(MSVC)
#### end var setup ###
SETUP_PLUGIN(lua)