From 60cb78577f74c19ee1b93dd44a181aadfdee738e Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 17 Mar 2024 15:45:37 -0500 Subject: [PATCH] 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 --- .github/workflows/scripts/macos/build-dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scripts/macos/build-dependencies.sh b/.github/workflows/scripts/macos/build-dependencies.sh index 82ca4c063e..175082c1c0 100755 --- a/.github/workflows/scripts/macos/build-dependencies.sh +++ b/.github/workflows/scripts/macos/build-dependencies.sh @@ -36,6 +36,7 @@ CMAKE_COMMON=( -DCMAKE_PREFIX_PATH="$INSTALLDIR" -DCMAKE_INSTALL_PREFIX="$INSTALLDIR" -DCMAKE_OSX_ARCHITECTURES="x86_64" + -DCMAKE_INSTALL_NAME_DIR='$/lib' ) cat > SHASUMS <