vcpkg/ports/bond/0001_boost_static_libs.patch
Christopher Warrington e235ab759e Upgrade Bond to 6.0.0
* Updated to the 6.0.0 release of Bond.
* Regenerated patches.
2017-07-14 15:19:07 -07:00

24 lines
636 B
Diff

diff --git a/cmake/Config.cmake b/cmake/Config.cmake
index d5125c70..a2eb536c 100644
--- a/cmake/Config.cmake
+++ b/cmake/Config.cmake
@@ -46,7 +46,7 @@ if (MSVC)
add_compile_options (/permissive-)
endif()
- set (Boost_USE_STATIC_LIBS ON)
+ set (Boost_USE_STATIC_LIBS OFF)
endif (MSVC)
if (WIN32)
@@ -131,9 +131,6 @@ if (DEFINED ENV{APPVEYOR} AND ("$ENV{BOND_BUILD}" STREQUAL "C++"))
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)