forked from qt-creator/qt-creator
qmlpuppet: fix standalone build
app_version.h is not generated and found if a build just for the qml2puppet target is requested Change-Id: I9ef164d8e0c698d43eae74d2522029f9eff0f397 Reviewed-by: Burak Hancerli <burak.hancerli@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
f9a0b325d7
commit
1262c68f2e
@@ -19,6 +19,8 @@ if (NOT QT_CREATOR_API_DEFINED)
|
||||
include(QtCreatorAPI)
|
||||
endif()
|
||||
|
||||
configure_file(../../app/app_version.h.cmakein app/app_version.h ESCAPE_QUOTES)
|
||||
|
||||
find_package(Qt5
|
||||
COMPONENTS Concurrent Core Gui Network PrintSupport Qml Quick Sql Widgets Xml Core5Compat
|
||||
REQUIRED
|
||||
@@ -34,6 +36,8 @@ add_qtc_executable(qml2puppet
|
||||
Qt5::CorePrivate Qt5::Widgets Qt5::QmlPrivate
|
||||
Qt5::QuickPrivate Qt5::Network Qt5::GuiPrivate
|
||||
QmlPuppetCommunication
|
||||
INCLUDES
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
SOURCES
|
||||
qml2puppet/main.cpp
|
||||
qmlpuppet.qrc
|
||||
|
Reference in New Issue
Block a user