summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/odbc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sqldrivers/odbc')
-rw-r--r--src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt34
-rw-r--r--src/plugins/sqldrivers/odbc/CMakeLists.txt16
2 files changed, 43 insertions, 7 deletions
diff --git a/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt b/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt
new file mode 100644
index 0000000000..ac3297eaaf
--- /dev/null
+++ b/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt
@@ -0,0 +1,34 @@
+# Generated from odbc.pro.
+
+#####################################################################
+## qsqlodbc Plugin:
+#####################################################################
+
+add_qt_plugin(qsqlodbc
+ TYPE sqldrivers
+ CLASS_NAME QODBCDriverPlugin
+ SOURCES
+ main.cpp
+ qsql_odbc.cpp qsql_odbc_p.h
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::SqlPrivate
+ PUBLIC_LIBRARIES
+ ODBC::ODBC
+ Qt::Core
+ Qt::Sql
+)
+
+#### Keys ignored in scope 1:.:.:odbc.pro:<TRUE>:
+# OTHER_FILES = "odbc.json"
+
+## Scopes:
+#####################################################################
+
+extend_target(qsqlodbc CONDITION UNIX
+ DEFINES
+ UNICODE
+)
diff --git a/src/plugins/sqldrivers/odbc/CMakeLists.txt b/src/plugins/sqldrivers/odbc/CMakeLists.txt
index b6ea71be01..542d3b9727 100644
--- a/src/plugins/sqldrivers/odbc/CMakeLists.txt
+++ b/src/plugins/sqldrivers/odbc/CMakeLists.txt
@@ -1,9 +1,11 @@
-qt_find_package(ODBC) # special case
+# Generated from odbc.pro.
#####################################################################
## qsqlodbc Plugin:
#####################################################################
+qt_find_package(ODBC) # special case
+
add_qt_plugin(qsqlodbc
TYPE sqldrivers
CLASS_NAME QODBCDriverPlugin
@@ -11,19 +13,19 @@ add_qt_plugin(qsqlodbc
main.cpp
qsql_odbc.cpp qsql_odbc_p.h
DEFINES
- QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_TO_ASCII
LIBRARIES
- ODBC::ODBC
- Qt::Core
Qt::CorePrivate
Qt::SqlPrivate
+ PUBLIC_LIBRARIES
+ ODBC::ODBC
+ Qt::Core
+ Qt::Sql
)
-#### Keys ignored in scope 1:.:odbc.pro:<NONE>:
+#### Keys ignored in scope 1:.:.:odbc.pro:<TRUE>:
# OTHER_FILES = "odbc.json"
-# PLUGIN_CLASS_NAME = "QODBCDriverPlugin"
-# _LOADED = "qt_plugin"
## Scopes:
#####################################################################