mirror of
https://github.com/logos-blockchain/lez-indexer-module.git
synced 2026-07-30 07:03:31 +00:00
Merge pull request #4 from logos-blockchain/erhant/fix-build-errors
fix!: link OpenSSL and shorten module name so the module builds and loads on macOS
This commit is contained in:
commit
97367242ce
@ -51,6 +51,12 @@ endif()
|
||||
# ---- Qt ----
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core RemoteObjects)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
# ---- OpenSSL ----
|
||||
# liblogos_sdk.a uses boost::asio::ssl (rpc_server, plain_transport_*); as a
|
||||
# static archive it does not carry its OpenSSL dependency, so the final link
|
||||
# of this plugin must link libssl/libcrypto itself.
|
||||
find_package(OpenSSL REQUIRED)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
@ -177,6 +183,8 @@ target_link_libraries(${PLUGIN_TARGET} PRIVATE
|
||||
logos_execution_zone_indexer
|
||||
logos_cpp_sdk
|
||||
logos_core
|
||||
OpenSSL::SSL
|
||||
OpenSSL::Crypto
|
||||
)
|
||||
|
||||
target_compile_definitions(${PLUGIN_TARGET} PRIVATE
|
||||
|
||||
@ -61,6 +61,7 @@
|
||||
pkgs.qt6.qtbase
|
||||
pkgs.qt6.qtremoteobjects
|
||||
pkgs.qt6.qttools
|
||||
pkgs.openssl
|
||||
llvmPkgs.clang
|
||||
llvmPkgs.libclang
|
||||
logosExecutionZoneIndexerPackage
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "liblogos_execution_zone_indexer_module",
|
||||
"name": "lez_indexer_module",
|
||||
"version": "1.0.0",
|
||||
"description": "Logos Execution Zone Indexer Module for Logos Core",
|
||||
"author": "Logos Blockchain Team",
|
||||
|
||||
@ -25,7 +25,7 @@ LogosExecutionZoneIndexerModule::~LogosExecutionZoneIndexerModule() {
|
||||
// === Plugin Interface ===
|
||||
|
||||
QString LogosExecutionZoneIndexerModule::name() const {
|
||||
return "liblogos_execution_zone_indexer_module";
|
||||
return "lez_indexer_module";
|
||||
}
|
||||
|
||||
QString LogosExecutionZoneIndexerModule::version() const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user