Add symbol visibility annotations to glslang-resource-limits library

Among other things, this allows using it as a DLL on Windows.
This commit is contained in:
Arcady Goldmints-Orlov 2024-09-09 13:31:47 -07:00 committed by arcady-lunarg
parent 708d560c23
commit d7d5ab8f8a
3 changed files with 11 additions and 8 deletions

View file

@ -227,6 +227,7 @@ set_target_properties(glslang-default-resource-limits PROPERTIES
target_include_directories(glslang-default-resource-limits PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
glslang_only_export_explicit_symbols(glslang-default-resource-limits)
################################################################################
# source_groups