|
|
|
@ -14,7 +14,7 @@ export CMAKE_PREFIX_PATH |
|
|
|
|
|
|
|
|
|
cmake -GNinja -S. -Bbuild \ |
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ |
|
|
|
|
-DCMAKE_INSTALL_PREFIX="$(pwd)" \ |
|
|
|
|
-DCMAKE_INSTALL_PREFIX="nheko.app" \ |
|
|
|
|
-DHUNTER_ROOT="../.hunter" \ |
|
|
|
|
-DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \ |
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \ |
|
|
|
@ -31,5 +31,5 @@ cmake --build build |
|
|
|
|
# "$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/ |
|
|
|
|
# # workaround for https://bugreports.qt.io/browse/QTBUG-100686 |
|
|
|
|
# cp "$(brew --prefix brotli)/lib/libbrotlicommon.1.dylib" nheko.app/Contents/Frameworks/libbrotlicommon.1.dylib |
|
|
|
|
cmake --install build |
|
|
|
|
cmake --install . |
|
|
|
|
) |
|
|
|
|