summaryrefslogtreecommitdiffhomepage
path: root/macosx/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-31 18:41:48 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-10-31 18:41:48 +0100
commita1d93782b084354821dcb6d6cc03fc449b4d9f9a (patch)
tree489cd2b7b0706b1c1f7ee68b8a121d886214260f /macosx/CMakeLists.txt
parentc8fa7f5edd4a48bd87c9781a20a1227868372768 (diff)
fix osx install bundle orderopentrack-2.3-rc20p1
Diffstat (limited to 'macosx/CMakeLists.txt')
-rw-r--r--macosx/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/CMakeLists.txt b/macosx/CMakeLists.txt
new file mode 100644
index 00000000..214ea676
--- /dev/null
+++ b/macosx/CMakeLists.txt
@@ -0,0 +1,9 @@
+if(APPLE)
+ install(CODE "
+ execute_process(COMMAND /bin/sh \"${CMAKE_SOURCE_DIR}/macosx/make-app-bundle.sh\"
+ \"${CMAKE_SOURCE_DIR}/macosx\"
+ \"${CMAKE_INSTALL_PREFIX}\"
+ \"${CMAKE_BINARY_DIR}\"
+ \"${OPENTRACK_COMMIT}\")
+ ")
+endif()