From 10b0290577442d42604e155d1b258265073595df Mon Sep 17 00:00:00 2001 From: Huang-Ming Huang Date: Thu, 31 Dec 2020 08:52:03 -0600 Subject: [PATCH] Fix problem when using ubuntu libpqxx package --- plugins/blockvault_client_plugin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/blockvault_client_plugin/CMakeLists.txt b/plugins/blockvault_client_plugin/CMakeLists.txt index b0823ed28a9..4ae7bfd1b0f 100644 --- a/plugins/blockvault_client_plugin/CMakeLists.txt +++ b/plugins/blockvault_client_plugin/CMakeLists.txt @@ -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)