mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 00:19:00 +08:00
12 lines
398 B
Plaintext
12 lines
398 B
Plaintext
|
The package etcd-cpp-apiv3 is compatible with built-in CMake targets:
|
||
|
|
||
|
find_package(etcd-cpp-api CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE etcd-cpp-api)
|
||
|
|
||
|
In cases where you only need the synchronous runtime and want to avoid the initialization
|
||
|
of builtin thread pool, use:
|
||
|
|
||
|
find_package(etcd-cpp-api CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE etcd-cpp-api-core)
|
||
|
|