Update add_qml_module to use DO_NOT_INSTALL_METADATA

Update to match latest changes to QtDeclarative.

Change-Id: Ie455c0418e95c288149b4b1a29b065a8876e8b7e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Leander Beernaert 2019-10-08 15:18:41 +02:00
parent 6704ed450b
commit 1a4f0e2583

View File

@ -2149,7 +2149,7 @@ function(add_qml_module target)
QML_FILES ${arg_QML_FILES}
IMPORTS "${arg_IMPORTS}"
TYPEINFO "${arg_TYPEINFO}"
DO_NOT_INSTALL
DO_NOT_INSTALL_METADATA
DO_NOT_CREATE_TARGET
DEPENDENCIES ${arg_DEPENDENCIES}
RESOURCE_EXPORT "${INSTALL_CMAKE_NAMESPACE}${target}Targets"