update spark-update-tool/CMakeLists.txt.

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2025-09-06 05:10:41 +00:00 committed by Gitee
parent 7fe53e8caa
commit 72935c3f09
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -17,17 +17,21 @@ set(PROJECT_SOURCES
src/mainwindow.cpp
src/mainwindow.h
src/mainwindow.ui
src/aptssupdater.h
src/aptssupdater.cpp
src/appdelegate.h #
src/appdelegate.cpp #
src/applistmodel.h
src/applistmodel.cpp
src/downloadmanager.h
src/downloadmanager.cpp
)
if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
qt_add_executable(spark-update-tool
MANUAL_FINALIZATION
${PROJECT_SOURCES}
src/aptssupdater.h src/aptssupdater.cpp
src/icons.qrc
src/appdelegate.h src/appdelegate.cpp
src/applistmodel.h src/applistmodel.cpp
src/downloadmanager.h src/downloadmanager.cpp
)
# Define target properties for Android with Qt 6 as:
# set_property(TARGET spark-update-tool APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR
@ -72,4 +76,4 @@ install(TARGETS spark-update-tool
if(QT_VERSION_MAJOR EQUAL 6)
qt_finalize_executable(spark-update-tool)
endif()
endif()