diff options
author | K Henriksson <khenriksson@bgsh.org> | 2021-11-25 16:17:15 -0800 |
---|---|---|
committer | K Henriksson <khenriksson@bgsh.org> | 2021-11-28 10:44:51 -0800 |
commit | 20eada7bbe340cd44056dc6778d775493ae2cf7e (patch) | |
tree | 7751a7346c10fcecf48d23cbac961ffa01b0a7b3 /BUILD.md | |
parent | 859d71058129d1f3789e75755f43e0b34662d3f0 (diff) | |
download | PrismLauncher-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.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 -`. |