mirror of https://github.com/microsoft/vcpkg.git
32 lines
979 B
Diff
32 lines
979 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3fd81ed..357ec01 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -233,7 +233,7 @@ target_link_libraries(${BTCPP_LIBRARY}
|
|
foonathan::lexy
|
|
minitrace::minitrace
|
|
tinyxml2::tinyxml2
|
|
- minicoro::minicoro
|
|
+ $<BUILD_INTERFACE:minicoro::minicoro>
|
|
flatbuffers::flatbuffers
|
|
$<$<BOOL:${BTCPP_GROOT_INTERFACE}>:cppzmq>
|
|
$<$<BOOL:${BTCPP_SQLITE_LOGGING}>:SQLite::SQLite3>
|
|
diff --git a/cmake/Config.cmake.in b/cmake/Config.cmake.in
|
|
index eaed471..dd8a4a8 100644
|
|
--- a/cmake/Config.cmake.in
|
|
+++ b/cmake/Config.cmake.in
|
|
@@ -1,5 +1,13 @@
|
|
@PACKAGE_INIT@
|
|
|
|
+include(CMakeFindDependencyMacro)
|
|
+
|
|
+find_dependency(Threads)
|
|
+find_dependency(flatbuffers CONFIG)
|
|
+find_dependency(lexy CONFIG)
|
|
+find_dependency(minitrace CONFIG)
|
|
+find_dependency(tinyxml2 CONFIG)
|
|
+
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
|
|
|
set(@PROJECT_NAME@_TARGETS "BT::@PROJECT_NAME@")
|