cmake build: Explicitly turn on project file updates on the QtC side

We want to have flags consistent with the Qbs build and project file
updates are disabled by default (for standalone qbs builds in Brew or
choco) to avoid dependency on QtGui

Task-number: QTCREATORBUG-25232
Change-Id: I217057f45519e0c92201d1b76d5b04924804aed0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Ivan Komissarov
2021-02-22 22:03:44 +01:00
committed by Eike Ziller
parent 7cb81fb5ba
commit 13f466c05d

View File

@@ -37,6 +37,7 @@ if (ENABLE_BUILD_QBS)
set(INSTALL_PUBLIC_HEADERS OFF CACHE BOOL "") set(INSTALL_PUBLIC_HEADERS OFF CACHE BOOL "")
set(WITH_TESTS OFF) set(WITH_TESTS OFF)
set(WITH_PROJECT_FILE_UPDATES ON)
set(QBS_INSTALL_QCH_DOCS ${WITH_DOCS} CACHE BOOL "") set(QBS_INSTALL_QCH_DOCS ${WITH_DOCS} CACHE BOOL "")
add_subdirectory(qbs) add_subdirectory(qbs)
endif() endif()