summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-server
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2021-09-09 18:25:14 +0200
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2021-09-10 19:05:36 +0200
commitd4546e76a54454a4999ef357e1c1d9f463cb8bd3 (patch)
treeb1c4d810659920cedf92aeb89fa05c3cfb6a9394 /examples/bluetooth/heartrate-server
parent956e7bbe2109f507807b16a02702427fcaaf3377 (diff)
Bluetooth (examples): update CMakeLists.txt to include Info.plist
Pick-to: 6.2 Change-Id: I87097dc605ff34db1f8d7fb92d055402693906e1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-server')
-rw-r--r--examples/bluetooth/heartrate-server/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/bluetooth/heartrate-server/CMakeLists.txt b/examples/bluetooth/heartrate-server/CMakeLists.txt
index 9ec86f85..f97516d5 100644
--- a/examples/bluetooth/heartrate-server/CMakeLists.txt
+++ b/examples/bluetooth/heartrate-server/CMakeLists.txt
@@ -37,6 +37,13 @@ if(ANDROID)
)
endif()
+if(APPLE)
+ set_target_properties(heartrate-server PROPERTIES
+ MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist"
+ )
+endif()
+
+
install(TARGETS heartrate-server
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"