zeux / niagara

A Vulkan renderer written from scratch on stream
MIT License
1.26k stars 72 forks source link

[Linux] Adjust path to glslangvalidator on non windows platforms #34

Closed deccer closed 1 year ago

deccer commented 1 year ago

Hi Arseny,

cmake was not able to find glslangValidator, but with this change it will.

Tested on archlinux.

zeux commented 1 year ago

On my Ubuntu system, glslangValidator binary is available (installed via glslang-tools package), but VULKAN_SDK environment variable is not set. This should probably check if VULKAN_SDK is defined before using this path.

deccer commented 1 year ago

Makes sense