mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 11:41:36 +08:00
341d02562a
* [abseil] update to latest release (20230125.0) * Fix DLL support * Update version * I do not understand the warning about version-string, fixing it seems to make things worse * [etcd-cpp-apiv3] Abseil requires C++14 * Update a downstream port * I just cannot get these right, argh * Try to switch from version-string to version (again) * Regenerate versions * Improve etcd handling of C++ standard * Regenerate versions * Use target_link_libraries to get compilation flags * Update version files
18 lines
765 B
Diff
18 lines
765 B
Diff
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|
index 8d5404f..e77e92a 100644
|
|
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -21,6 +21,12 @@ add_library(etcd-cpp-api-core-objects OBJECT ${CPP_CLIENT_CORE_SRC} ${PROTOBUF_G
|
|
use_cxx(etcd-cpp-api-core-objects)
|
|
add_dependencies(etcd-cpp-api-core-objects protobuf_generates)
|
|
include_generated_protobuf_files(etcd-cpp-api-core-objects)
|
|
+target_link_libraries(etcd-cpp-api-core-objects PUBLIC
|
|
+ ${Boost_LIBRARIES}
|
|
+ ${PROTOBUF_LIBRARIES}
|
|
+ ${OPENSSL_LIBRARIES}
|
|
+ ${GRPC_LIBRARIES}
|
|
+)
|
|
|
|
# add the core library, includes the sycnhronous client only
|
|
add_library(etcd-cpp-api-core $<TARGET_OBJECTS:etcd-cpp-api-core-objects>)
|