summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2020-01-24 12:14:38 +0100
committerEike Ziller <eike.ziller@qt.io>2020-01-24 11:43:27 +0000
commitbc4fd14ee4af6edb08f0852bb6bfc6b82559237a (patch)
tree6ab4a3febf3d57670e56ce80d4a29b5c2dbcbd56 /bin
parent866f3aeb4ad20299e482b76bd94f062ef93c7e9e (diff)
downloadqt-creator-bc4fd14ee4af6edb08f0852bb6bfc6b82559237a.tar.gz
CMake build: Some clean up for macOS
Don't install qtcreator.sh, it cannot be used. Don't install application into bin/ subfolder. App-bundles do not follow the UNIX bin/, lib/, share/ convention, so don't even try. (This makes bundling it into a 7z consistent with what we do on the other platforms.) Change-Id: Ib3faa2909a9b30a11193586f279528f1b8bd96fa Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'bin')
-rw-r--r--bin/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt
index 60b1bb7d35..3c5d2a1c95 100644
--- a/bin/CMakeLists.txt
+++ b/bin/CMakeLists.txt
@@ -1 +1,3 @@
-install(PROGRAMS qtcreator.sh DESTINATION bin)
+if (NOT APPLE)
+ install(PROGRAMS qtcreator.sh DESTINATION bin)
+endif()