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

Ability to use system version of SPIRV-Headers without specifying source directory. #2635

Open
Zopolis4 opened this issue Jul 7, 2024 · 0 comments

Comments

@Zopolis4
Copy link
Contributor

Zopolis4 commented Jul 7, 2024

As it stands, there is no way to use a system version of SPIRV-Headers without specifying a source directory.

Something like this would allow an external version to be used without specifying a path, but still leaving the old method as a fallback:

if (SYSTEM_SPIRV_HEADERS AND NOT DEFINED LLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR)
find_package(SPIRV-Headers)
endif()
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

No branches or pull requests

1 participant