Externals: Fix build failures with the newer glslang.
v2: Don't include glslang project wide.
This commit is contained in:
Vendored
+7
@@ -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