[SCons] Ignore yaml-cpp compiler warning

This commit is contained in:
Ray Speth 2023-07-01 10:54:41 -04:00 committed by Ray Speth
parent 2050fee1b8
commit 8c534e863e

View File

@ -34,6 +34,13 @@ def prep_gmock(env):
return localenv return localenv
def prep_yamlcpp(env):
localenv = prep_default(env)
if env['CC'] == 'cl':
# "class ... needs to have dll-interface to be used by clients of class ..."
localenv.Append(CCFLAGS='/wd4251')
return localenv
ext_copies = [] ext_copies = []
if not env['system_fmt']: if not env['system_fmt']: