Externals: Update glslang to 16.0.0 and allow using system glslang

This commit is contained in:
Joshua Vandaële
2025-09-27 05:12:07 +02:00
parent ba2acb872c
commit cdfb389509
11 changed files with 20 additions and 29 deletions

View File

@@ -12,15 +12,8 @@ PUBLIC
common
videocommon
spirv_cross
)
target_include_directories(videod3dcommon
SYSTEM PUBLIC
${CMAKE_SOURCE_DIR}/Externals/glslang/glslang/Public
SYSTEM PRIVATE
${CMAKE_SOURCE_DIR}/Externals/glslang/StandAlone
${CMAKE_SOURCE_DIR}/Externals/glslang/SPIRV
${CMAKE_SOURCE_DIR}/Externals/glslang
PRIVATE
glslang::glslang
)
if(MSVC)

View File

@@ -8,8 +8,8 @@
#include <string_view>
#include <fmt/format.h>
#include <glslang/SPIRV/disassemble.h>
#include <wrl/client.h>
#include "disassemble.h"
#include "spirv_hlsl.hpp"
#include "Common/Assert.h"

View File

@@ -35,6 +35,7 @@ PUBLIC
videocommon
PRIVATE
spirv_cross
glslang::glslang
${FOUNDATION_LIBRARY}
${METAL_LIBRARY}
${QUARTZCORE_LIBRARY}

View File

@@ -44,7 +44,7 @@ PUBLIC
PRIVATE
# Link against glslang, the other necessary libraries are referenced by the executable.
glslang
glslang::glslang
xxhash::xxhash
)