diff --git a/BUILD.gn b/BUILD.gn index 6384de04d..383864c08 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -159,6 +159,7 @@ template("glslang_sources_common") { "glslang/Include/Types.h", "glslang/Include/arrays.h", "glslang/Include/intermediate.h", + "glslang/Include/visibility.h", "glslang/MachineIndependent/Constant.cpp", "glslang/MachineIndependent/InfoSink.cpp", "glslang/MachineIndependent/Initialize.cpp", diff --git a/glslang/CMakeLists.txt b/glslang/CMakeLists.txt index 4beb1da33..a9740232a 100644 --- a/glslang/CMakeLists.txt +++ b/glslang/CMakeLists.txt @@ -163,7 +163,8 @@ set(GLSLANG_HEADERS Include/ResourceLimits.h Include/ShHandle.h Include/SpirvIntrinsics.h - Include/Types.h) + Include/Types.h + Include/visibility.h) add_library(glslang ${LIB_TYPE} ${GLSLANG_SOURCES} ${GLSLANG_HEADERS} ${GENERICCODEGEN_SOURCES} ${GENERICCODEGEN_HEADERS} ${OSDEPENDENT_SOURCES} ${OSDEPENDENT_HEADERS} ${MACHINEINDEPENDENT_SOURCES} ${MACHINEINDEPENDENT_HEADERS} ${SPIRV_SOURCES} ${SPIRV_HEADERS}) add_library(glslang::glslang ALIAS glslang)