Skip to content

Commit

Permalink
Fix: Update FindPostgreSQL.cmake to support Postgres 16 (#2181)
Browse files Browse the repository at this point in the history
* Fix: added PostgreSQL 16 to the list of known versions in FindPostgreSQL.cmake

The gvm compiles only when used with PostgreSQL (Debian 16.2-1). The older version of PSQL (PSQL 15) isn't in Kali's rolling repo anymore.

* Fix: adjusted indentation in cmake file.

Co-authored-by: Matt Mundell <32057441+mattmundell@users.noreply.github.com>
  • Loading branch information
easymoney322 and mattmundell authored May 2, 2024
1 parent a7f52e7 commit 6373712
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 @@ -87,7 +87,7 @@ set(PostgreSQL_ROOT_DIR_MESSAGE "Set the PostgreSQL_ROOT system variable to wher


set(PostgreSQL_KNOWN_VERSIONS ${PostgreSQL_ADDITIONAL_VERSIONS}
"15" "14" "13" "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")
"16" "15" "14" "13" "12" "11" "10" "9.6" "9.5" "9.4" "9.3" "9.2" "9.1" "9.0" "8.4" "8.3" "8.2" "8.1" "8.0")

# Define additional search paths for root directories.
set( PostgreSQL_ROOT_DIRECTORIES
Expand Down

0 comments on commit 6373712

Please sign in to comment.