Skip to content

build: Avoid AppleClang using the wrong headers - #928

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:fix_apple_clang_using_wrong_vulkan_headers
Aug 7, 2026
Merged

build: Avoid AppleClang using the wrong headers#928
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:fix_apple_clang_using_wrong_vulkan_headers

Conversation

@charles-lunarg

Copy link
Copy Markdown
Contributor

Because of AppleClang always adding /usr/local/include and CMake using -isystem by default in 3.25+, builds on MacOS could use system installed headers by mistake. Because this repo has code generated against a specific version of the Vulkan Headers, if the system installed headers are older (which is usually the case for developers of this repo) then the build fails.

Because of AppleClang always adding /usr/local/include and CMake using
-isystem by default in 3.25+, builds on MacOS could use system installed
headers by mistake. Because this repo has code generated against a
specific version of the Vulkan Headers, if the system installed headers
are older (which is usually the case for developers of this repo) then
the build fails.
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 68655.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 68667.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4075 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4075 passed.

@charles-lunarg
charles-lunarg merged commit 4e80c87 into KhronosGroup:main Aug 7, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants