From 932d4ca471956b99d1ce2542ff147a92de55a9ee Mon Sep 17 00:00:00 2001 From: Daljit Singh Date: Tue, 1 Oct 2024 11:50:55 +0100 Subject: [PATCH] Instruct CMake to deprioritise headers in /Library/Frameworks on Mac CI By setting, CMAKE_FIND_FRAMEWORK=LAST we instruct CMake to not look for header files inside /Library/Frameworks as a first search path. This can cause issue when frameoworks like Mono are present on the system, resulting in CMake unable to find the homebrew library headers. --- .github/workflows/checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 24ebb4ebee..3a97284642 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -158,6 +158,7 @@ jobs: -B build -G Ninja -D CMAKE_BUILD_TYPE=Release + -D CMAKE_FIND_FRAMEWORK=LAST -D MRTRIX_BUILD_TESTS=ON -D MRTRIX_STL_DEBUGGING=ON -D MRTRIX_USE_PCH=OFF