Skip to content

Commit

Permalink
Fix CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
sartim committed Aug 5, 2024
1 parent 23b2e9a commit 6d4f6b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ FetchContent_Declare(
libpqxx
GIT_REPOSITORY https://github.com/jtv/libpqxx.git
GIT_TAG 1ca80b0e638f6182426c5b11255069cae4fbd542
)
set(PQXX_LIBRARIES pqxx_static)
FetchContent_MakeAvailable(libpqxx)
target_link_libraries(${PROJECT_NAME} PRIVATE "${PQXX_LIBRARIES}")

0 comments on commit 6d4f6b7

Please sign in to comment.