Skip to content

Commit

Permalink
cmake/FindPostgreSQL: put the server include dir first
Browse files Browse the repository at this point in the history
(temporarily cherry picked from commit
da3e432 to run the CI tests)
  • Loading branch information
medvied committed Oct 25, 2023
1 parent f272c85 commit 99a9f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindPostgreSQL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if(PostgreSQL_FOUND)
separate_arguments(_pg_ldflags_ex)

set(_server_lib_dirs ${_pg_libdir} ${_pg_pkglibdir})
set(_server_inc_dirs ${_pg_pkgincludedir} ${_pg_includedir_server})
set(_server_inc_dirs ${_pg_includedir_server} ${_pg_pkgincludedir})
string(REPLACE ";" " " _shared_link_options
"${_pg_ldflags};${_pg_ldflags_sl}")
set(_link_options ${_pg_ldflags})
Expand Down

0 comments on commit 99a9f2f

Please sign in to comment.