Fixed imgui-node-editor build when using GCC.
This commit is contained in:
parent
4082f8cb22
commit
ba5def01b0
@ -16,6 +16,8 @@ def _git_cook(env: Environment, repo: dict) -> dict:
|
||||
ccflags = list(env['CCFLAGS'])
|
||||
if env['COMPILER_FAMILY'] == 'cl':
|
||||
ccflags.append('/wd4100')
|
||||
elif env['COMPILER_FAMILY'] == 'gcc':
|
||||
ccflags.extend(('-Wno-comment', '-Wno-unused-but-set-variable', '-Wno-unused-parameter'))
|
||||
lib_ine = env.StaticLibrary(
|
||||
CPPPATH = [repo['checkout_root']],
|
||||
CCFLAGS = ccflags,
|
||||
|
Loading…
x
Reference in New Issue
Block a user