comparison Resources/CMake/PostgreSQLConfiguration.cmake @ 166:abba5165f24e

support for PostgreSQL 12 and forthcoming 13
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 02 Aug 2020 11:23:35 +0200
parents 4cd7e45b671e
children 8c7bb94adff7
comparison
equal deleted inserted replaced
165:0632c2408af3 166:abba5165f24e
376 376
377 source_group(ThirdParty\\PostgreSQL REGULAR_EXPRESSION ${LIBPQ_SOURCES_DIR}/.*) 377 source_group(ThirdParty\\PostgreSQL REGULAR_EXPRESSION ${LIBPQ_SOURCES_DIR}/.*)
378 378
379 else() 379 else()
380 set(PostgreSQL_ADDITIONAL_VERSIONS 380 set(PostgreSQL_ADDITIONAL_VERSIONS
381 "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") 381 "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")
382 if (NOT WIN32) 382 if (NOT WIN32)
383 foreach (suffix ${PostgreSQL_ADDITIONAL_VERSIONS}) 383 foreach (suffix ${PostgreSQL_ADDITIONAL_VERSIONS})
384 list(APPEND PostgreSQL_ADDITIONAL_SEARCH_PATHS 384 list(APPEND PostgreSQL_ADDITIONAL_SEARCH_PATHS
385 "/usr/include/postgresql/${suffix}" 385 "/usr/include/postgresql/${suffix}"
386 "/usr/include/postgresql/${suffix}/server" 386 "/usr/include/postgresql/${suffix}/server"