diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-13 07:15:54 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-13 07:15:54 +0200 |
commit | 932c0184a72b716fa9af26e1e8d3d76a469a787c (patch) | |
tree | 6f365cf340974340c5b1e6bc6b2ae62305f93008 /src/video_core | |
parent | Merge pull request #6453 from lat9nq/libusb-fix-msvc (diff) | |
download | yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.tar yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.tar.gz yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.tar.bz2 yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.tar.lz yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.tar.xz yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.tar.zst yuzu-932c0184a72b716fa9af26e1e8d3d76a469a787c.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/host_shaders/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/host_shaders/CMakeLists.txt b/src/video_core/host_shaders/CMakeLists.txt index 2208e1922..c9cff7450 100644 --- a/src/video_core/host_shaders/CMakeLists.txt +++ b/src/video_core/host_shaders/CMakeLists.txt @@ -18,7 +18,10 @@ set(SHADER_FILES vulkan_uint8.comp ) -find_program(GLSLANGVALIDATOR "glslangValidator" REQUIRED) +find_program(GLSLANGVALIDATOR "glslangValidator") +if ("${GLSLANGVALIDATOR}" STREQUAL "GLSLANGVALIDATOR-NOTFOUND") + message(FATAL_ERROR "Required program `glslangValidator` not found.") +endif() set(GLSL_FLAGS "") set(QUIET_FLAG "--quiet") |