Fix missing lib with builtin_glslang=false
The `GetDefaultResource` function is in separate library file. (cherry picked from commit cdafcefb6b5a467e2741d30f82d2f00a9e723335)
This commit is contained in:
@@ -514,7 +514,7 @@ def configure(env: "SConsEnvironment"):
|
||||
env.ParseConfig("pkg-config vulkan --cflags --libs")
|
||||
if not env["builtin_glslang"]:
|
||||
# No pkgconfig file so far, hardcode expected lib name.
|
||||
env.Append(LIBS=["glslang", "SPIRV"])
|
||||
env.Append(LIBS=["glslang", "SPIRV", "glslang-default-resource-limits"])
|
||||
|
||||
if env["opengl3"]:
|
||||
env.Append(CPPDEFINES=["GLES3_ENABLED"])
|
||||
|
||||
Reference in New Issue
Block a user