summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2025-10-24 22:56:46 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2025-10-24 22:58:22 -0500
commitd404805b7f68e2dc84c54bbc488d765755e7ec6f (patch)
tree80c1ed57e6f9a878c100c1357523de9208538e5b /CMakeLists.txt
parenta2913abeb9b25f73d54f1bd179ce877fa5531a77 (diff)
CMake: Fix bundled glslang
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index edebd2af5b..7c708e9987 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -653,14 +653,8 @@ dolphin_find_optional_system_library_pkgconfig(FMT
add_subdirectory(Externals/imgui)
add_subdirectory(Externals/implot)
-# A few distributions (mainly Debian-based ones) distribute glslang without linking it against SPIRV-Tools
-find_package(SPIRV-Tools)
-if(SPIRV-Tools_FOUND)
- dolphin_find_optional_system_library(glslang Externals/glslang 15.0)
- target_link_libraries(glslang::glslang INTERFACE SPIRV-Tools)
-else()
- dolphin_add_bundled_library(glslang OFF Externals/glslang)
-endif()
+dolphin_find_optional_system_library(glslang Externals/glslang 15.0)
+
# SPIRV-Cross is used on Windows for GLSL to HLSL conversion for the Direct3D 11 and Direct3D 12
# video backends, and on Apple devices for the Metal video backend.
if(WIN32 OR APPLE)