diff --git a/cmake/FindPostgreSQL.cmake b/cmake/FindPostgreSQL.cmake index 4bf4eced..8b1300e7 100644 --- a/cmake/FindPostgreSQL.cmake +++ b/cmake/FindPostgreSQL.cmake @@ -64,6 +64,8 @@ set(PostgreSQL_LINK_FLAGS "") if(APPLE) find_program(PostgreSQL_EXECUTABLE postgres REQUIRED NO_DEFAULT_PATH PATHS ${PostgreSQL_BIN_DIR}) set(PostgreSQL_LINK_FLAGS "-bundle_loader ${PostgreSQL_EXECUTABLE}") + + list(APPEND PostgreSQL_INCLUDE_DIRS "/usr/lib/local") endif() # ----------------------------------------------------------------------------