Skip to content

Commit

Permalink
Instruct CMake to deprioritise headers in /Library/Frameworks on Mac CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daljit46 committed Oct 1, 2024
1 parent b88d7be commit 932d4ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 932d4ca

Please sign in to comment.