summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/process-status/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/applicationmanager/process-status/CMakeLists.txt')
-rw-r--r--examples/applicationmanager/process-status/CMakeLists.txt19
1 files changed, 5 insertions, 14 deletions
diff --git a/examples/applicationmanager/process-status/CMakeLists.txt b/examples/applicationmanager/process-status/CMakeLists.txt
index 2cb18fbf..7d2647b8 100644
--- a/examples/applicationmanager/process-status/CMakeLists.txt
+++ b/examples/applicationmanager/process-status/CMakeLists.txt
@@ -17,19 +17,10 @@ set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/applicationmanager/process-status
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS AppManMainPrivate)
-)
-set_target_properties(process-status PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-target_link_libraries(process-status PUBLIC
- Qt::Core
- Qt::Gui
-)
-
-install(TARGETS process-status
- RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
- BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
- LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+qt6_am_add_systemui_wrapper(process-status
+ CONFIG_YAML am-config.yaml
+ EXTRA_FILES apps system-ui
+ EXTRA_ARGS --verbose
)