History

configure: disable libglslang/libshaderc if the vulkan is disabled

Fixes build failures when the Vulkan headers are too old and libglslang or libshaderc are enabled.

Lynne committed 3 years ago

Commit fec6e841 parent 1e888461 file · +4 −0Browse files

Unified · Split

configure+4−0
@@ -7154,6 +7154,10 @@ if enabled vulkan; then · 7153 unmodified lines
7154 check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) || (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)"7154 check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) || (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)"
7155fi7155fi
7156 7156
7157if disabled vulkan; then
7158 disable libglslang libshaderc spirv_compiler
7159fi
7160
7157if enabled x86; then7161if enabled x86; then
7158 case $target_os in7162 case $target_os in
7159 mingw32*|mingw64*|win32|win64|linux|cygwin*)7163 mingw32*|mingw64*|win32|win64|linux|cygwin*)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t