mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 19:07:52 +08:00
16 lines
564 B
Diff
16 lines
564 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index b47cb7f8..bd12f519 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -203,8 +203,9 @@ target_include_directories(lslobj
|
||
|
target_include_directories(lslobj
|
||
|
SYSTEM PUBLIC
|
||
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/thirdparty/loguru>
|
||
|
- $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/thirdparty/asio>
|
||
|
)
|
||
|
+find_package(asio CONFIG REQUIRED)
|
||
|
+target_link_libraries(lslobj PUBLIC asio::asio)
|
||
|
target_compile_definitions(lslobj PRIVATE
|
||
|
LIBLSL_EXPORTS
|
||
|
LOGURU_DEBUG_LOGGING=$<BOOL:${LSL_DEBUGLOG}>
|