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
71547154 check_cpp_condition vulkan "vulkan/vulkan.h" "defined(VK_VERSION_1_4) || (defined(VK_VERSION_1_3) && VK_HEADER_VERSION >= 255)"
71557155 fi
71567156
7157+if disabled vulkan; then
7158+ disable libglslang libshaderc spirv_compiler
7159+fi
7160+
71577161 if enabled x86; then
71587162 case $target_os in
71597163 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