Skip to content

Commit 1834c53

Browse files
committed
Remove CPATH from macOS SDK configuration
CPATH may cause clang++ to find incompatible header definitions. Keep SDKROOT for SDK path resolution but remove CPATH to avoid header conflicts.
1 parent 9975e3e commit 1834c53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/gh_actions_macos.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
- name: Configure macOS SDK for clang-tidy
1212
run: |
1313
echo "SDKROOT=$(xcrun --show-sdk-path)" >> $GITHUB_ENV
14-
echo "CPATH=$(xcrun --show-sdk-path)/usr/include" >> $GITHUB_ENV
1514
- name: Install 5 hooks, python3, llvm already includes clang-tidy, clang-format
1615
run: brew install uncrustify cppcheck oclint iwyu
1716
- name: Fix OCLint dylib paths

0 commit comments

Comments
 (0)