Skip to content

Commit

Permalink
Change cmake logic a bit after a fight about where to find postgres.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xxon committed Jul 25, 2017
1 parent 0918f50 commit a24aef4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions cmake/FindPostgreSQL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ find_library(PostgreSQL_LIBRARY
NAMES ${PostgreSQL_LIBRARY_TO_FIND}
PATHS
${PostgreSQL_ROOT_DIRECTORIES}
${PostgreSQL_LIBRARY_DIR}
PATH_SUFFIXES
lib
${PostgreSQL_LIBRARY_ADDITIONAL_SEARCH_SUFFIXES}
Expand Down
2 changes: 0 additions & 2 deletions configure.plugin
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ plugin_option()
case "$1" in
--with-postgresql=*)
append_cache_entry PostgreSQL_ROOT PATH $optarg
append_cache_entry PostgreSQL_ROOT PATH $optarg/include
return 0
;;

Expand All @@ -30,7 +29,6 @@ plugin_option()
;;

--with-postgresql-lib=*)
append_cache_entry PostgreSQL_LIBRARY_DIR PATH $optarg
append_cache_entry PostgreSQL_LIBRARY_DIR PATH $optarg
return 0
;;
Expand Down

0 comments on commit a24aef4

Please sign in to comment.