Externals: Fix build failures with the newer glslang.

v2: Don't include glslang project wide.
This commit is contained in:
orbea
2020-05-30 18:54:21 -07:00
parent 690dee3533
commit ba2d04b793
6 changed files with 25 additions and 103 deletions
+7
View File
@@ -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
)