Fixed linking against Glslang library.
This commit is contained in:
parent
ea6fe95db4
commit
c0b282c9e0
@ -60,7 +60,7 @@ def _git_cook(env: Environment, repo, options: dict = {}) -> dict:
|
|||||||
if enable_hlsl:
|
if enable_hlsl:
|
||||||
additional_cppdefines.append('ENABLE_HLSL=1')
|
additional_cppdefines.append('ENABLE_HLSL=1')
|
||||||
|
|
||||||
env.StaticLibrary(
|
lib_glslang_full = env.StaticLibrary(
|
||||||
CCFLAGS = env['CCFLAGS'] + additional_cxx_flags,
|
CCFLAGS = env['CCFLAGS'] + additional_cxx_flags,
|
||||||
CPPPATH = repo['checkout_root'],
|
CPPPATH = repo['checkout_root'],
|
||||||
CPPDEFINES = list(env['CPPDEFINES']) + additional_cppdefines,
|
CPPDEFINES = list(env['CPPDEFINES']) + additional_cppdefines,
|
||||||
@ -84,7 +84,7 @@ def _git_cook(env: Environment, repo, options: dict = {}) -> dict:
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'CPPPATH': [include_dir],
|
'CPPPATH': [include_dir],
|
||||||
'LIBS': [os.path.join(env['LIB_DIR'], env.LibFilename('glslang_full'))]
|
'LIBS': [lib_glslang_full]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user