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 #9859 from EOSIO/huangminghuang/fix-ubuntu-cmake
Browse files Browse the repository at this point in the history
Fix problem when using ubuntu libpqxx package
  • Loading branch information
huangminghuang authored Jan 1, 2021
2 parents 8fb2b9e + 10b0290 commit ddd0938
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 ddd0938

Please sign in to comment.