2017-02-09 11:34:55 +08:00
|
|
|
diff --git a/cmake/Config.cmake b/cmake/Config.cmake
|
2017-07-15 06:16:50 +08:00
|
|
|
index d5125c70..a2eb536c 100644
|
2017-02-09 11:34:55 +08:00
|
|
|
--- a/cmake/Config.cmake
|
|
|
|
+++ b/cmake/Config.cmake
|
2017-07-15 06:16:50 +08:00
|
|
|
@@ -46,7 +46,7 @@ if (MSVC)
|
|
|
|
add_compile_options (/permissive-)
|
|
|
|
endif()
|
|
|
|
|
2017-02-09 11:34:55 +08:00
|
|
|
- set (Boost_USE_STATIC_LIBS ON)
|
|
|
|
+ set (Boost_USE_STATIC_LIBS OFF)
|
|
|
|
endif (MSVC)
|
|
|
|
|
|
|
|
if (WIN32)
|
2017-07-15 06:16:50 +08:00
|
|
|
@@ -131,9 +131,6 @@ if (DEFINED ENV{APPVEYOR} AND ("$ENV{BOND_BUILD}" STREQUAL "C++"))
|
2017-02-09 11:34:55 +08:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
-# disable Boost auto-linking
|
|
|
|
-add_definitions (-DBOOST_ALL_NO_LIB)
|
|
|
|
-
|
|
|
|
# VS2015U2 fixed a bug with atomics and emits a warning without this definition.
|
|
|
|
add_definitions (-D_ENABLE_ATOMIC_ALIGNMENT_FIX)
|
|
|
|
|