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>
This commit is contained in:
parent
95c9c5a308
commit
408cdf006a
@ -5,6 +5,7 @@ endif()
|
||||
|
||||
add_qt_module(WinMain
|
||||
STATIC
|
||||
NO_SYNC_QT
|
||||
NO_MODULE_HEADERS
|
||||
DEFINES
|
||||
QT_NO_FOREACH
|
||||
|
Loading…
x
Reference in New Issue
Block a user