From 408cdf006ad3b07449b0e64aacdf9057a9a913e1 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Wed, 4 Sep 2019 09:51:35 +0200 Subject: [PATCH] Fix non-prefix builds on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/winmain/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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