We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89ec71e commit fb6627eCopy full SHA for fb6627e
source/configGenerator_build.cpp
@@ -415,7 +415,16 @@ bool ConfigGenerator::buildAutoDetectValues()
415
} else if (i == "videotoolbox_hwaccel") {
416
enable = false;
417
} else if (i == "vulkan") {
418
- enable = true;
+ enable = false;
419
+ if (findEnvironmentVariable("VULKAN_SDK")) {
420
+ enable = true;
421
+ } else {
422
+ string fileName;
423
+ makeFileGeneratorRelative(m_outDirectory + "include/vulkan/vulkan.h", fileName);
424
+ if (findFile(fileName, fileName)) {
425
426
+ }
427
428
} else if (i == "libglslang" || i == " libshaderc" ||
429
i == " spirv_compiler") {
430
// Not currently supported
0 commit comments