Updated Set up Build Environment on macOS (markdown)

Janek Bevendorff
2023-12-09 01:33:52 +01:00
parent e276c1d1f7
commit 8687b3a693

@@ -58,7 +58,7 @@ vcpkg --triplet=x64-osx-dynamic install argon2 botan minizip qt5 qt5-svg qt5-too
qt5-macextras qt5-translations readline zlib libqrencode
```
Afterwards, add the `include` and `lib` directories under `$VCPKG_ROOT/installed/<triple>` to your compiler and linker path or set `-DCMAKE_PREFIX_PATH` when compiling KeePassXC. You also need to set the runtime path (`DYLD_LIBRARY_PATH`) accordingly.
Afterwards, add the `include` and `lib` directories under `$VCPKG_ROOT/installed/<triplet>` to your compiler and linker path or set `-DCMAKE_PREFIX_PATH` when compiling KeePassXC. You also need to set the runtime path (`DYLD_LIBRARY_PATH`) accordingly.
Hint: If you have custom `INCLUDE` or `CPATH` variables set, make sure, `.` is not part of your include path and the path variables contain no empty segmemts (which can happen easily if you construct them like `export INCLUDE="/some/include/path:${INCLUDE}"`) or else you will see strange compilation errors.