mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
ci: fix failed windows-msvc task (sokol examples)
This commit is contained in:
parent
d90ef1f29f
commit
1261468d8e
1 changed files with 2 additions and 0 deletions
|
@ -481,6 +481,8 @@ pub fn msvc_string_flags(cflags []cflag.CFlag) MsvcStringFlags {
|
||||||
real_libs << lib_lib
|
real_libs << lib_lib
|
||||||
} else if flag.name == '-I' {
|
} else if flag.name == '-I' {
|
||||||
inc_paths << flag.format()
|
inc_paths << flag.format()
|
||||||
|
} else if flag.name == '-D' {
|
||||||
|
defines << '/D$flag.value'
|
||||||
} else if flag.name == '-L' {
|
} else if flag.name == '-L' {
|
||||||
lib_paths << flag.value
|
lib_paths << flag.value
|
||||||
lib_paths << flag.value + os.path_separator + 'msvc'
|
lib_paths << flag.value + os.path_separator + 'msvc'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue