aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorK Henriksson <khenriksson@bgsh.org>2021-11-25 16:17:15 -0800
committerK Henriksson <khenriksson@bgsh.org>2021-11-28 10:44:51 -0800
commit20eada7bbe340cd44056dc6778d775493ae2cf7e (patch)
tree7751a7346c10fcecf48d23cbac961ffa01b0a7b3 /BUILD.md
parent859d71058129d1f3789e75755f43e0b34662d3f0 (diff)
downloadPrismLauncher-20eada7bbe340cd44056dc6778d775493ae2cf7e.tar.gz
PrismLauncher-20eada7bbe340cd44056dc6778d775493ae2cf7e.tar.bz2
PrismLauncher-20eada7bbe340cd44056dc6778d775493ae2cf7e.zip
Fix instructions for building on Mac
Relative paths and .. components don't work with CMake's bundle support. The also adds a note about potential code signing problems.
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/BUILD.md b/BUILD.md
index 838b48c6..b4ba173c 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -194,7 +194,7 @@ cmake \
-DCMAKE_C_COMPILER=/usr/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX:PATH="../dist/" \
+ -DCMAKE_INSTALL_PREFIX:PATH="$(dirname $PWD)/dist/" \
-DCMAKE_PREFIX_PATH="/path/to/Qt5.6/" \
-DQt5_DIR="/path/to/Qt5.6/" \
-DLauncher_LAYOUT=mac-bundle \
@@ -202,3 +202,6 @@ cmake \
..
make install
```
+
+**Note:** The final app bundle may not run due to code signing issues, which
+need to be fixed with `codesign -fs -`.