Skip to content

Commit

Permalink
cmake: bingo-postgres search paths updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Kvyatkovskiy committed Apr 2, 2012
1 parent de70008 commit 571ba5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions bingo/postgres/CMakeLists.txt
Expand Up @@ -9,6 +9,7 @@ find_package(POSTGRES)
if (NOT POSTGRES_FOUND)
message(FATAL_ERROR "Postgres not found!")
endif()
message(STATUS "Postgres found at ${POSTGRES_INCLUDE_DIRS}")

file(GLOB PG_AM_src src/pg_am/*.cpp src/pg_am/*.c)
file(GLOB PG_AM_headers src/pg_am/*.h)
Expand Down
2 changes: 2 additions & 0 deletions common/cmake/FindPOSTGRES.cmake
Expand Up @@ -12,8 +12,10 @@ FIND_PATH(POSTGRES_INCLUDE_DIRS pg_config.h
/usr/include
/usr/include/postgres
/usr/include/postgresql
/usr/include/postgresql/$ENV{BINGO_PG_VERSION}
/sw/include # Fink
/opt/local/include # DarwinPorts
/opt/local/include/postgresql/$ENV{BINGO_PG_VERSION}
/opt/csw/include # Blastwave
/opt/include
)
Expand Down

0 comments on commit 571ba5f

Please sign in to comment.