Qml2Puppet: Fix configuration when qml2puppet is disabled

Setting a property on a non existing target is a no go.

The changed done in 5b6bf29143 got somehow
removed by 036948c628

Change-Id: Id6d09b27817fa2c1f2c2c13127994710f5a2981a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Cristian Adam
2022-12-19 13:19:08 +01:00
parent 5cc77c4bf1
commit 2eb2aa13ae

View File

@@ -37,10 +37,10 @@ add_qtc_executable(qml2puppet
SOURCES SOURCES
qml2puppet/qml2puppetmain.cpp qml2puppet/qml2puppetmain.cpp
qmlpuppet.qrc qmlpuppet.qrc
PROPERTIES
OUTPUT_NAME qml2puppet-${IDE_VERSION}
) )
set_target_properties(qml2puppet PROPERTIES OUTPUT_NAME qml2puppet-${IDE_VERSION})
extend_qtc_executable(qml2puppet extend_qtc_executable(qml2puppet
CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.0.0 CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.0.0
SOURCES SOURCES