mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-25 16:43:33 +00:00
Don't force linking static boost libraries when building with mingw
This commit is contained in:
parent
8e094d6fa5
commit
fe03727ae5
@ -134,9 +134,11 @@ endif()
|
|||||||
|
|
||||||
# Platform specific
|
# Platform specific
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
if(NOT MINGW)
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
set(PLATFORM_INCLUDE_DIR "platform")
|
set(PLATFORM_INCLUDE_DIR "platform")
|
||||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||||
|
endif(NOT MINGW)
|
||||||
|
|
||||||
# Suppress WinMain(), provided by SDL
|
# Suppress WinMain(), provided by SDL
|
||||||
add_definitions(-DSDL_MAIN_HANDLED)
|
add_definitions(-DSDL_MAIN_HANDLED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user