mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
CMake: use dynamic linking for Boost
This commit is contained in:
parent
43fad700b4
commit
440226f7af
@ -103,7 +103,7 @@ if (WIN32)
|
|||||||
if(MSVC)
|
if(MSVC)
|
||||||
#MSVC: Fix problems with linking
|
#MSVC: Fix problems with linking
|
||||||
add_definitions(-DBOOST_ALL_NO_LIB)
|
add_definitions(-DBOOST_ALL_NO_LIB)
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS OFF)
|
||||||
|
|
||||||
#MSVC: Don't link with SDLMain
|
#MSVC: Don't link with SDLMain
|
||||||
set(SDL2_BUILDING_LIBRARY ON)
|
set(SDL2_BUILDING_LIBRARY ON)
|
||||||
|
Loading…
Reference in New Issue
Block a user