We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdc421 commit 23ebda3Copy full SHA for 23ebda3
libs/networking/src/CMakeLists.txt
@@ -18,6 +18,8 @@ target_link_libraries(${LIBNAME}
18
PUBLIC
19
CURL::libcurl
20
Boost::headers
21
+ PRIVATE
22
+ Boost::disable_autolinking
23
)
24
25
# Need the public headers to build.
@@ -33,6 +35,8 @@ target_compile_features(${LIBNAME} PUBLIC cxx_std_17)
33
35
target_compile_definitions(${LIBNAME}
34
36
37
LD_CURL_NETWORKING
38
+ BOOST_ASIO_SEPARATE_COMPILATION=1
39
+ BOOST_BEAST_SEPARATE_COMPILATION=1
40
41
42
# Using PUBLIC_HEADERS would flatten the include.
0 commit comments