CI:mac: Set CMAKE_INSTALL_NAME_DIR

CMake defaults to using rpath-based installs, but doesn't set rpath to include the deps dir when building, breaking Qt builds when they try to invoke rcc (which links against zstd) from the build dir
This commit is contained in:
TellowKrinkle 2024-03-17 15:45:37 -05:00 committed by Connor McLaughlin
parent e8ad355a90
commit 60cb78577f
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ CMAKE_COMMON=(
-DCMAKE_PREFIX_PATH="$INSTALLDIR"
-DCMAKE_INSTALL_PREFIX="$INSTALLDIR"
-DCMAKE_OSX_ARCHITECTURES="x86_64"
-DCMAKE_INSTALL_NAME_DIR='$<INSTALL_PREFIX>/lib'
)
cat > SHASUMS <<EOF