Skip to content

Commit

Permalink
Fix MacOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed Jan 9, 2024
1 parent 3a54c4b commit e777427
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ qmake \
CONFIG+="release qtquickcompiler" \
-o Makefile \
../$PROJECT.pro \
QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64";
QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" \
-early QMAKE_DEFAULT_LIBDIRS="$(xcrun -show-sdk-path)/usr/lib";

make qmake_all;
make "-j$(sysctl -n hw.ncpu)" > /dev/null 2>&1;
Expand Down

0 comments on commit e777427

Please sign in to comment.