From 63737124121105e1fe372a997829919ed7b17f3a Mon Sep 17 00:00:00 2001 From: Mikhail Samodurov <20065717+easymoney322@users.noreply.github.com> Date: Thu, 2 May 2024 12:05:12 +0500 Subject: [PATCH] Fix: Update FindPostgreSQL.cmake to support Postgres 16 (#2181) * 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> --- cmake/FindPostgreSQL.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindPostgreSQL.cmake b/cmake/FindPostgreSQL.cmake index 6be1ae9f5..1ce96596b 100644 --- a/cmake/FindPostgreSQL.cmake +++ b/cmake/FindPostgreSQL.cmake @@ -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