added GLSLCompilerStatic

This commit is contained in:
HuYingzhuo(hugo/hyzboy) 2023-03-07 17:50:16 +08:00
parent b3202f5a9b
commit 21913cc030

View File

@ -45,3 +45,7 @@ set(VULKAN_SPIRV_LIBS GenericCodeGen
add_library(GLSLCompiler SHARED glsl2spv.cpp VKShaderParse.h)
target_link_libraries(GLSLCompiler PRIVATE ${VULKAN_SPIRV_LIBS})
add_library(GLSLCompilerStatic STATIC glsl2spv.cpp VKShaderParse.h)
target_link_libraries(GLSLCompilerStatic PRIVATE ${VULKAN_SPIRV_LIBS})