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

Commit

Permalink
Merge pull request #9858 from EOSIO/huangminghuang/fix-ubuntu-cmake-2…
Browse files Browse the repository at this point in the history
….1.x

Fix problem when using ubuntu libpqxx package
  • Loading branch information
huangminghuang authored Jan 1, 2021
2 parents 4ffe963 + 8c19934 commit bcb4461
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 bcb4461

Please sign in to comment.