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

Commit

Permalink
Fix problem when using ubuntu libpqxx package
Browse files Browse the repository at this point in the history
  • Loading branch information
huangminghuang committed Dec 31, 2020
1 parent 3d4b0f5 commit 10b0290
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 10b0290

Please sign in to comment.