CMake: Fix static build when using a static build of Qt

This fixes two issues:
1. the QT_FEATURE_static_runtime feature of a static build of Qt
2. the static sqlite sql driver bundled with a static build of Qt

Change-Id: Ia245ee3d8f7205c536c9fa77a4ba53ef066f968c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2022-04-28 19:12:17 +02:00
parent 7e69b64b74
commit c0bca00bd9
8 changed files with 303 additions and 1 deletions

View File

@@ -25,6 +25,10 @@
#pragma once
#ifdef SQLITE_STATIC_LIBRARY
#include "config.h"
#endif
#include "sqliteblob.h"
#include "sqliteglobal.h"
#include "sqlitevalue.h"