aboutsummaryrefslogtreecommitdiff
path: root/ports/folly/cmake-link-boost-fix.patch
blob: d3baf13a3b26407a6cfaed9b2321374ea9aaa95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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}
   )