mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-31 01:31:10 +00:00
support non-local remote transports (#57)
* support non-local remote transports * fix LogosResult * allow getting client over specific transport * fix ssl * investiage ssl error * pr comments * allow transport set configuration on any module * pr comments * add docs * pr comments * propagate only non-qt dependencies * restore ABI compatibility
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
# logos-cpp-sdkConfig.cmake — consumed by `find_package(logos-cpp-sdk)`.
|
||||
#
|
||||
# Re-resolves every transitive dependency of liblogos_sdk before
|
||||
# importing the target, so downstream consumers get OpenSSL / Boost /
|
||||
# nlohmann_json / Qt6 wired into their own link line automatically.
|
||||
# Without this, a consumer linking the static archive directly would
|
||||
# see "undefined reference to SSL_CTX_*" / "DSO missing from command
|
||||
# line" because a STATIC archive doesn't carry transitive link info.
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
|
||||
find_dependency(Qt6 REQUIRED COMPONENTS Core RemoteObjects)
|
||||
# `system` for boost::system::error_code (Boost.Asio) — see the
|
||||
# matching note in cpp/CMakeLists.txt next to target_link_libraries.
|
||||
find_dependency(Boost REQUIRED COMPONENTS system)
|
||||
find_dependency(OpenSSL REQUIRED)
|
||||
find_dependency(nlohmann_json REQUIRED)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/logos-cpp-sdkTargets.cmake")
|
||||
|
||||
check_required_components(logos-cpp-sdk)
|
||||
Reference in New Issue
Block a user