From e3e1fc482053587811f39dcc9d1be231df00f660 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Fri, 15 Jan 2021 18:33:23 +0100 Subject: Add upstream version of FindPostgreSQL.cmake Add CMake upstream(3.20.0) version of FindPostgreSQL.cmake, to avoid server-related headers lookup. Avoid using the Qt version of the PostgreSQL module, if it's older than the CMake's one. Fixes: QTBUG-89639 Change-Id: I71a0c3508000901969933aea8a08d1ad431db711 Reviewed-by: Craig Scott Reviewed-by: Joerg Bornemann --- src/plugins/sqldrivers/psql/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/plugins/sqldrivers/psql/CMakeLists.txt b/src/plugins/sqldrivers/psql/CMakeLists.txt index 62e9619d16..2de82be2f8 100644 --- a/src/plugins/sqldrivers/psql/CMakeLists.txt +++ b/src/plugins/sqldrivers/psql/CMakeLists.txt @@ -1,8 +1,5 @@ # Generated from psql.pro. -# FIXME cmake FindPostgreSQL is more exhaustive than the check we have for libpq-fe.h -# it also checks for catalog/pg_type.h which is a more internal include, we should -# add a way to tell cmake FindPostgreSQL to optionally only look for the libpq-fe.h one qt_find_package(PostgreSQL) # special case ##################################################################### -- cgit v1.2.3