Skip to content
Snippets Groups Projects
Commit e620e5ee authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Add a workaround for buggy FindPostgreSQL.cmake in Debian/Ubuntu

parent 3d817fa0
No related merge requests found
include(FindPostgreSQL)
# A special hack for buggy FindPostgreSQL.cmake in Debian/Ubuntu
set(PostgreSQL_ROOT /usr/include/postgresql;/usr/include/postgres)
find_package(PostgreSQL)
if (PostgreSQL_FOUND)
message(STATUS "box.net.sql(pg): INC=${PostgreSQL_INCLUDE_DIRS}")
message(STATUS "box.net.sql(pg): LIBS=${PostgreSQL_LIBRARIES}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment