mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Externals: Fix build failures with the newer glslang.
v2: Don't include glslang project wide.
This commit is contained in:
7
Externals/glslang/CMakeLists.txt
vendored
7
Externals/glslang/CMakeLists.txt
vendored
@ -35,7 +35,9 @@ set(SRCS
|
||||
SPIRV/InReadableOrder.cpp
|
||||
SPIRV/Logger.cpp
|
||||
SPIRV/SpvBuilder.cpp
|
||||
SPIRV/SpvPostProcess.cpp
|
||||
SPIRV/SPVRemapper.cpp
|
||||
StandAlone/ResourceLimits.cpp
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
@ -62,3 +64,8 @@ endif()
|
||||
endif()
|
||||
|
||||
add_library(glslang STATIC ${SRCS})
|
||||
|
||||
target_include_directories(glslang
|
||||
PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/Externals/glslang
|
||||
)
|
||||
|
Reference in New Issue
Block a user