1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

CMake: use dynamic linking for Boost

This commit is contained in:
Arseniy Shestakov 2017-08-03 02:56:25 +03:00
parent 43fad700b4
commit 440226f7af

View File

@ -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)