mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 07:51:28 +00:00
No more warnings when building re2c with VC++
This commit is contained in:
parent
3c7d0c971f
commit
bab0ed451a
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ include( CheckFunctionExists )
|
||||||
include( CheckTypeSize )
|
include( CheckTypeSize )
|
||||||
|
|
||||||
if( MSVC )
|
if( MSVC )
|
||||||
# Runtime type information is required
|
# Runtime type information is required and don't complain about uint32_t to bool conversions
|
||||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR" )
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR /wd4800" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set( PACKAGE_NAME re2c )
|
set( PACKAGE_NAME re2c )
|
||||||
|
|
Loading…
Reference in a new issue