Another attempt to fix windows compilation (#556)

This commit is contained in:
Vincent Herbet
2018-09-08 21:12:57 +02:00
committed by GitHub
parent 9a2c586720
commit d2d121619f
4 changed files with 9 additions and 3 deletions

View File

@ -24,5 +24,9 @@ binary.sources = [
if builder.target_platform == 'windows':
binary.sources += ['version.rc']
if binary.compiler.vendor == 'msvc' and binary.compiler.version >= 1900:
binary.sources += [
'../../public/msvc/msvc15hack.c'
]
AMXX.modules += [builder.Add(binary)]