forked from teamnwah/openmw-tes3coop
Windows-specific definition to deny SDL from providing it's own WinMain()
This commit is contained in:
parent
7023395012
commit
116f125f05
1 changed files with 3 additions and 0 deletions
|
@ -183,6 +183,9 @@ if (WIN32)
|
|||
set(Boost_USE_STATIC_LIBS ON)
|
||||
set(PLATFORM_INCLUDE_DIR "platform")
|
||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||
|
||||
# Suppress WinMain(), provided by SDL
|
||||
add_definitions(-DSDL_MAIN_HANDLED)
|
||||
else (WIN32)
|
||||
set(PLATFORM_INCLUDE_DIR "")
|
||||
find_path (UUID_INCLUDE_DIR uuid/uuid.h)
|
||||
|
|
Loading…
Reference in a new issue