diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e743d74d..b3efa770 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -94,6 +94,7 @@ jobs: make -j4 - name: Build dmg run: | + install_name_tool -add_rpath $(brew --prefix qt)/lib qlog.app cd build macdeployqt qlog.app cp `brew --prefix`/lib/libhamlib.dylib qlog.app/Contents/Frameworks/libhamlib.dylib diff --git a/.github/workflows/macOSBuild.yml b/.github/workflows/macOSBuild.yml index 3c2a7208..2f22a557 100644 --- a/.github/workflows/macOSBuild.yml +++ b/.github/workflows/macOSBuild.yml @@ -50,6 +50,7 @@ jobs: make -j4 - name: Build dmg run: | + install_name_tool -add_rpath $(brew --prefix qt)/lib qlog.app cd build macdeployqt qlog.app -executable=./qlog.app/Contents/MacOS/qlog cp `brew --prefix`/lib/libhamlib.dylib qlog.app/Contents/Frameworks/libhamlib.dylib