Skip to content

Commit

Permalink
Fix not pq patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fdr400 committed Jan 8, 2025
1 parent 2256f75 commit d1e00f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions postgresql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ else()
PROPERTIES COMPILE_FLAGS -DUSERVER_NO_LIBPQ_PATCHES=1
)

find_library(PostgreSQL_LIBRARY NAMES libpq.so libpq.dylib REQUIRED)
find_package(PostgreSQL REQUIRED)
target_link_libraries(userver-libpq INTERFACE PostgreSQL::PostgreSQL)
endif()
Expand Down

0 comments on commit d1e00f7

Please sign in to comment.