Open Zopolis4 opened 2 months ago
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()
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: