Skip to content

Commit 0dfe280

Browse files
committed
ASIO header only
1 parent d54c973 commit 0dfe280

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

libs/networking/src/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ target_include_directories(${LIBNAME}
3131
# Minimum C++ standard needed for consuming the public API is C++17.
3232
target_compile_features(${LIBNAME} PUBLIC cxx_std_17)
3333

34-
target_compile_definitions(${LIBNAME} PUBLIC LD_CURL_NETWORKING)
34+
target_compile_definitions(${LIBNAME}
35+
PUBLIC
36+
LD_CURL_NETWORKING
37+
BOOST_ASIO_HEADER_ONLY
38+
)
3539

3640
# Using PUBLIC_HEADERS would flatten the include.
3741
# This will preserve it, but dependencies must do the same.

0 commit comments

Comments
 (0)