summaryrefslogtreecommitdiffstats
path: root/examples/dbus
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-12-15 16:27:37 +0100
committerKai Köhne <kai.koehne@qt.io>2021-12-17 10:38:49 +0100
commit131681652eb609a19eac963222c553442138ae12 (patch)
tree075278de7806ed2758c826bd32bd9593ed5f1448 /examples/dbus
parent7cf8ecf4cedc0d85623e6838e01ca9fa5b618a24 (diff)
Examples: Clean up WIN32_EXECUTABLE, MACOSX_BUNDLE properties
Both are FALSE by default, so no point in explicitly setting them to FALSE. In addition, dbus/listnames is a command line tool. No reason to set WIN32_EXECUTABLE, MACOSX_BUNDLE here. Pick-to: 6.3 Change-Id: I99aaf27a0267c5575bd2ee5b6183991fce721f44 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'examples/dbus')
-rw-r--r--examples/dbus/listnames/CMakeLists.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/dbus/listnames/CMakeLists.txt b/examples/dbus/listnames/CMakeLists.txt
index fd18051484..784a2c5dd4 100644
--- a/examples/dbus/listnames/CMakeLists.txt
+++ b/examples/dbus/listnames/CMakeLists.txt
@@ -19,22 +19,11 @@ qt_add_executable(listnames
listnames.cpp
)
-set_target_properties(listnames PROPERTIES
- WIN32_EXECUTABLE TRUE
- MACOSX_BUNDLE TRUE
-)
-
target_link_libraries(listnames PUBLIC
Qt::Core
Qt::DBus
)
-if(WIN32)
- set_target_properties(listnames PROPERTIES
- WIN32_EXECUTABLE FALSE
- )
-endif()
-
install(TARGETS listnames
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"