Skip to content

Require a compatible VulkanHeaders version in find_package#1775

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:require_vulkan_headers_version
Sep 16, 2025
Merged

Require a compatible VulkanHeaders version in find_package#1775
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:require_vulkan_headers_version

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

Adding this field uses the generated version in project() to force CMake to check that the found VulkanHeaders package's version is the same or greater than the version of VulkanHeaders this project was generated with.

Adding this field uses the generated version in `project()` to force CMake to check
that the found VulkanHeaders package's version is the same or greater than the
version of VulkanHeaders this project was generated with.
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 532038.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 532055.

@charles-lunarg

Copy link
Copy Markdown
Collaborator Author

${CMAKE_PROJECT_VERSION} is currently 1.4.326, but will change with every header update (which automatically updates the project() line in CMake with the header version used to generate the code.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3195 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3195 passed.

@charles-lunarg charles-lunarg merged commit 50399a2 into KhronosGroup:main Sep 16, 2025
45 checks passed
@charles-lunarg charles-lunarg deleted the require_vulkan_headers_version branch September 16, 2025 18:42
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.

2 participants