diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-02-09 22:56:36 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-02-09 22:56:36 -0800 |
| commit | 641128c6039a5a251e7da470f164e8a9c98a1b02 (patch) | |
| tree | 4f855f0e2a5e6cd47e0afefb270aae961f3ffe47 /ports/folly/cmake-link-boost-fix.patch | |
| parent | a120c81ebee555f48f49888fd7ee37c63dba3de5 (diff) | |
| download | vcpkg-641128c6039a5a251e7da470f164e8a9c98a1b02.tar.gz vcpkg-641128c6039a5a251e7da470f164e8a9c98a1b02.zip | |
[folly] Workaround bug for VS 15.6
Diffstat (limited to 'ports/folly/cmake-link-boost-fix.patch')
| -rw-r--r-- | ports/folly/cmake-link-boost-fix.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ports/folly/cmake-link-boost-fix.patch b/ports/folly/cmake-link-boost-fix.patch new file mode 100644 index 000000000..d3baf13a3 --- /dev/null +++ b/ports/folly/cmake-link-boost-fix.patch @@ -0,0 +1,35 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ec5a985c..36564534 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -136,13 +136,6 @@ source_group("folly\\build" FILES + ) + + set(FOLLY_SHINY_DEPENDENCIES +- Boost::chrono +- Boost::context +- Boost::date_time +- Boost::filesystem +- Boost::program_options +- Boost::regex +- Boost::system + OpenSSL::SSL + OpenSSL::Crypto + ) +@@ -179,6 +172,7 @@ endif() + + set(FOLLY_LINK_LIBRARIES + ${FOLLY_LINK_LIBRARIES} ++ ${Boost_LIBRARIES} + Iphlpapi.lib + Ws2_32.lib + +@@ -320,7 +314,7 @@ if (BUILD_TESTS) + ) + target_link_libraries(folly_test_support + PUBLIC +- Boost::thread ++ ${Boost_LIBRARIES} + folly + ${LIBGMOCK_LIBRARY} + ) |
