Add visibility.h to build scripts

This commit is contained in:
Arcady Goldmints-Orlov 2024-08-20 13:23:43 -04:00 committed by arcady-lunarg
parent 9e8dff7d42
commit ffd454c57b
2 changed files with 3 additions and 1 deletions

View File

@ -159,6 +159,7 @@ template("glslang_sources_common") {
"glslang/Include/Types.h", "glslang/Include/Types.h",
"glslang/Include/arrays.h", "glslang/Include/arrays.h",
"glslang/Include/intermediate.h", "glslang/Include/intermediate.h",
"glslang/Include/visibility.h",
"glslang/MachineIndependent/Constant.cpp", "glslang/MachineIndependent/Constant.cpp",
"glslang/MachineIndependent/InfoSink.cpp", "glslang/MachineIndependent/InfoSink.cpp",
"glslang/MachineIndependent/Initialize.cpp", "glslang/MachineIndependent/Initialize.cpp",

View File

@ -163,7 +163,8 @@ set(GLSLANG_HEADERS
Include/ResourceLimits.h Include/ResourceLimits.h
Include/ShHandle.h Include/ShHandle.h
Include/SpirvIntrinsics.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 ${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) add_library(glslang::glslang ALIAS glslang)