CMake: Fix compilation error when QmlPlugin is not built

Ammends 6fe11f80d6

Change-Id: Ifa909d8e2946c4fdd8e2a5301bab2686a615d89a
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
Cristian Adam
2020-09-25 10:22:20 +02:00
committed by Cristian Adam
parent ac3337c557
commit 94008aa71e
2 changed files with 6 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ if (APPLE)
set(QmlDesignerPluginInstallPrefix "${IDE_PLUGIN_PATH}/QmlDesigner")
endif()
set_target_properties(QmlDesigner PROPERTIES QMLDESIGNER_PLUGIN_PATH "${QmlDesignerPluginInstallPrefix}")
extend_qtc_plugin(QmlDesigner PROPERTIES QMLDESIGNER_PLUGIN_PATH "${QmlDesignerPluginInstallPrefix}")
add_qtc_plugin(assetexporterplugin
CONDITION TARGET QmlDesigner