mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 21:41:23 +00:00
Fix SDL2 compile-errors, made it work on Win64
.. when compiled with MSVC2012
This commit is contained in:
parent
1ea1a299fb
commit
44004d8bbc
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ elseif(MSVC)
|
|||
add_definitions(/wd4714) # 'function' marked as __forceinline not inlined
|
||||
add_definitions(/wd4996) # 'function': was declared deprecated
|
||||
add_definitions(/wd4068) # unknown pragma
|
||||
add_definitions(-D_ALLOW_KEYWORD_MACROS) # because of the "#define private public" and "#define protected public" in TypeInfo.cpp
|
||||
set(CMAKE_C_FLAGS_DEBUG "-D_DEBUG /Od /Zi /MDd")
|
||||
set(CMAKE_C_FLAGS_RELEASE "/Ox /Oy /MD")
|
||||
set(CMAKE_C_FLAGS_RELWITHDEBINFO "/Ox /Oy /Zi /MD")
|
||||
|
|
Loading…
Reference in a new issue