summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/sqldrivers/psql/CMakeLists.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/plugins/sqldrivers/psql/CMakeLists.txt b/src/plugins/sqldrivers/psql/CMakeLists.txt
index f87a8108b1..dfbeaba6de 100644
--- a/src/plugins/sqldrivers/psql/CMakeLists.txt
+++ b/src/plugins/sqldrivers/psql/CMakeLists.txt
@@ -1,9 +1,7 @@
-# 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
-find_package(PostgreSQL)
+find_package(PostgreSQL) # special case
#####################################################################
## qsqlpsql Plugin:
@@ -18,10 +16,13 @@ add_qt_plugin(qsqlpsql
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_ASCII
LIBRARIES
+ PostgreSQL::PostgreSQL
+ Qt::Core
Qt::CorePrivate
Qt::SqlPrivate
- PostgreSQL::PostgreSQL
- # OTHER_FILES = "psql.json"
- # PLUGIN_CLASS_NAME = "QPSQLDriverPlugin"
- # _LOADED = "qt_plugin"
)
+
+#### Keys ignored in scope 1:.:psql.pro:<NONE>:
+# OTHER_FILES = "psql.json"
+# PLUGIN_CLASS_NAME = "QPSQLDriverPlugin"
+# _LOADED = "qt_plugin"