Merge pull request #4285 from khenriks/develop

Fix instructions for building on Mac
This commit is contained in:
Petr Mrázek 2021-11-30 20:24:19 +01:00 committed by GitHub
commit ffcef673de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ cmake \
-DCMAKE_C_COMPILER=/usr/bin/clang \ -DCMAKE_C_COMPILER=/usr/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \ -DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH="../dist/" \ -DCMAKE_INSTALL_PREFIX:PATH="$(dirname $PWD)/dist/" \
-DCMAKE_PREFIX_PATH="/path/to/Qt5.6/" \ -DCMAKE_PREFIX_PATH="/path/to/Qt5.6/" \
-DQt5_DIR="/path/to/Qt5.6/" \ -DQt5_DIR="/path/to/Qt5.6/" \
-DLauncher_LAYOUT=mac-bundle \ -DLauncher_LAYOUT=mac-bundle \
@ -202,3 +202,6 @@ cmake \
.. ..
make install make install
``` ```
**Note:** The final app bundle may not run due to code signing issues, which
need to be fixed with `codesign -fs -`.