summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-09-04 09:51:35 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-09-04 10:54:43 +0000
commit408cdf006ad3b07449b0e64aacdf9057a9a913e1 (patch)
treedd7fd91694a64f32178c81ab96965e5ce8122e08 /src
parent95c9c5a308a87d91dc1d0797ad186aee7bd7e012 (diff)
Fix non-prefix builds on Windows
Building qtdeclarative on Windows in a non-prefix build failed due to usage of include paths of WinMain that don't actually exist. Mark the library as not having include paths by setting NO_SYNC_QT. Change-Id: Ibdb420981069967414a119dedc7a7bfc9d61c253 Reviewed-by: Qt CMake Build Bot Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/winmain/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winmain/CMakeLists.txt b/src/winmain/CMakeLists.txt
index 1095a0e907..51e619285a 100644
--- a/src/winmain/CMakeLists.txt
+++ b/src/winmain/CMakeLists.txt
@@ -5,6 +5,7 @@ endif()
add_qt_module(WinMain
STATIC
+ NO_SYNC_QT
NO_MODULE_HEADERS
DEFINES
QT_NO_FOREACH