forked from qt-creator/qt-creator
Qml2Puppet: Fix configuration when qml2puppet is disabled
Setting a property on a non existing target is a no go. The changed done in5b6bf29143
got somehow removed by036948c628
Change-Id: Id6d09b27817fa2c1f2c2c13127994710f5a2981a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user