diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-07-01 03:47:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-01 03:47:57 +0200 |
commit | bab400daafaed898840c979e04717934cb977135 (patch) | |
tree | c0e91c958cca196000744303532687e9a0cfc20f /src/video_core/host_shaders/CMakeLists.txt | |
parent | Merge pull request #6471 from lat9nq/dump-as-mod (diff) | |
parent | cmake: Check dependencies for Linux Qt package (diff) | |
download | yuzu-bab400daafaed898840c979e04717934cb977135.tar yuzu-bab400daafaed898840c979e04717934cb977135.tar.gz yuzu-bab400daafaed898840c979e04717934cb977135.tar.bz2 yuzu-bab400daafaed898840c979e04717934cb977135.tar.lz yuzu-bab400daafaed898840c979e04717934cb977135.tar.xz yuzu-bab400daafaed898840c979e04717934cb977135.tar.zst yuzu-bab400daafaed898840c979e04717934cb977135.zip |
Diffstat (limited to 'src/video_core/host_shaders/CMakeLists.txt')
-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") |