Remove OGLCompiler and HLSL stub libraries from build

Fixes ranlib warnings complaining about empty archive libraries.

Simplifie build/code.
This commit is contained in:
Juan Ramos 2023-11-28 12:56:32 -07:00 committed by arcady-lunarg
parent c59b876ca0
commit 6be56e45e5
16 changed files with 17 additions and 392 deletions

View file

@ -103,16 +103,13 @@ if(BUILD_TESTING)
endif()
set(LIBRARIES
glslang OSDependent OGLCompiler glslang
glslang OSDependent glslang
SPIRV glslang-default-resource-limits)
if(ENABLE_SPVREMAPPER)
set(LIBRARIES ${LIBRARIES} SPVRemapper)
endif()
if(ENABLE_HLSL)
set(LIBRARIES ${LIBRARIES} HLSL)
endif()
target_link_libraries(glslangtests PRIVATE ${LIBRARIES} gmock)
add_test(NAME glslang-gtests