diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2022-11-29 17:29:06 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2022-11-29 17:04:00 +0000 |
commit | 036948c6286cc01d8e3bbf0e594dc0bc5358e43b (patch) | |
tree | 0b6f32db2da196fba51e5d5fd937ac522bc1bc24 | |
parent | b5befc694514d1b223b56a5c65fe4ac859cdbb2f (diff) | |
download | qt-creator-036948c6286cc01d8e3bbf0e594dc0bc5358e43b.tar.gz |
qml2puppet: remove unnecessary flexibility
standalone builds are doing:
cmake --install . --prefix <something_with_bin>
Change-Id: I61c0743c00f96c0505e2fa383e4bee41c2b6ceb9
Reviewed-by: Burak Hancerli <burak.hancerli@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | src/tools/qml2puppet/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tools/qml2puppet/CMakeLists.txt b/src/tools/qml2puppet/CMakeLists.txt index 7ef09420ee..074099be89 100644 --- a/src/tools/qml2puppet/CMakeLists.txt +++ b/src/tools/qml2puppet/CMakeLists.txt @@ -14,7 +14,7 @@ set(CMAKE_CXX_EXTENSIONS OFF) if (NOT QT_CREATOR_API_DEFINED) # standalone build - set(DESTINATION DESTINATION $ENV{QDS_PUPPET_DESTINATION}) + set(DESTINATION DESTINATION .) include(QtCreatorIDEBranding) include(QtCreatorAPI) endif() @@ -39,11 +39,7 @@ add_qtc_executable(qml2puppet qmlpuppet.qrc ) -if (NOT "$ENV{QDS_PUPPET_VERSION}" STREQUAL "") - set_target_properties(qml2puppet PROPERTIES OUTPUT_NAME qml2puppet-$ENV{QDS_PUPPET_VERSION}) -else() - set_target_properties(qml2puppet PROPERTIES OUTPUT_NAME qml2puppet-${IDE_VERSION}) -endif() +set_target_properties(qml2puppet PROPERTIES OUTPUT_NAME qml2puppet-${IDE_VERSION}) extend_qtc_executable(qml2puppet CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.0.0 |