From c8bacbe68f128ac89cff57234c14cc520e8f960f Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Thu, 23 May 2024 17:10:50 -0400 Subject: [PATCH] Set CMAKE_FIND_ROOT_PATH --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa870aa766a..19a249c2d08 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -154,6 +154,7 @@ jobs: -DUSE_WERROR=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUSE_COMPILE_CACHE=ON + -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 CCACHE_MAXSIZE: 0 CCACHE_NOCOMPRESS: 1 @@ -208,6 +209,7 @@ jobs: -B build \ -DCMAKE_INSTALL_PREFIX="../target" \ -DCMAKE_PREFIX_PATH=$(~/wrongbrew.sh --prefix qt@5);$(~/wrongbrew.sh --prefix) \ + -DCMAKE_FIND_ROOT_PATH=$(~/wrongbrew --prefix) $CMAKE_OPTS \ -DUSE_WERROR=OFF - name: Build