CMake/BuildVulkanShaders: Fix check for GLSLANG_VALIDATOR_PROGRAM_FOUND

This commit is contained in:
Alexander Akulich 2022-04-25 13:21:27 +03:00
parent 450e6a53f7
commit 69e312f5fb

View file

@ -21,7 +21,7 @@ if(NOT GLSLANG_VALIDATOR_PROGRAM)
endif()
endif()
if(${GLSLANG_VALIDATOR_PROGRAM_FOUND} EQUAL FALSE)
if(NOT GLSLANG_VALIDATOR_PROGRAM_FOUND)
message(FATAL_ERROR "glslangValidator binary was not found. Did you install the Vulkan SDK / packages ?")
endif()
endif()