Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fix problem when using ubuntu libpqxx package #9858

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/blockvault_client_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (pqxx_FOUND)
set(pqxx_lib PkgConfig::pqxx PkgConfig::pq)
else()
add_library(pqxx STATIC IMPORTED)
set_property(TARGET pqxx PROPERTY IMPORTED_LOCATION ${pqxx_STATIC_LIBRARY_DIRS}/libpqxx.a)
set_property(TARGET pqxx PROPERTY IMPORTED_LOCATION ${pqxx_LIBDIR}/libpqxx.a)
target_include_directories(pqxx INTERFACE ${pqxx_STATIC_INCLUDE_DIRS})
target_link_libraries(pqxx INTERFACE PkgConfig::pq)
set(pqxx_lib pqxx)
Expand Down