Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Disable Vulkan-Module by default #509

Conversation

charles-lunarg
Copy link
Contributor

After numerous reports of builds being broken due to the addition of the Vulkan-Module support code in CMake, the option is being set to OFF by default. This prevents projects which do not use the module from not being able to build due to compiler, build system, and platform issues. Projects wishing to enable modules can set the cmake option VULKAN_HEADERS_ENABLE_MODULE=ON to re-enable the module support.

After numerous reports of builds being broken due to the addition of the
Vulkan-Module support code in CMake, the option is being set to OFF by
default. This prevents projects which do not use the module from not being
able to build due to compiler, build system, and platform issues. Projects
wishing to enable modules can set the cmake option
VULKAN_HEADERS_ENABLE_MODULE=ON to re-enable the module support.

Add a warning in case a user decides to enable the module but the platform
doesn't support modules.
@charles-lunarg charles-lunarg force-pushed the disable_vulkan_cppm_by_default branch from 39e5cec to 49b95dc Compare October 29, 2024 19:00
@charles-lunarg charles-lunarg merged commit f2eb740 into KhronosGroup:main Oct 29, 2024
10 checks passed
@charles-lunarg charles-lunarg deleted the disable_vulkan_cppm_by_default branch October 29, 2024 19:14
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.

Vulkan-Module causing widespread problems in ecosystem
2 participants