We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa952ad commit 9c9be66Copy full SHA for 9c9be66
CMakeLists.txt
@@ -41,7 +41,9 @@ function(vix_async_link_asio onto link_scope)
41
# Standalone mode: try module-local first
42
set(_asio_local "${CMAKE_CURRENT_LIST_DIR}/third_party/asio/include")
43
if (EXISTS "${_asio_local}/asio.hpp")
44
- target_include_directories(${onto} SYSTEM ${link_scope} "${_asio_local}")
+ target_include_directories(${onto} SYSTEM ${link_scope}
45
+ $<BUILD_INTERFACE:${_asio_local}>
46
+ )
47
target_compile_definitions(${onto} ${link_scope} VIX_ASYNC_WITH_ASIO=1)
48
message(STATUS "[async] Asio: using module-local Asio at ${_asio_local}")
49
return()
0 commit comments