mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
meson: fix resource file compilation on Windows
It needs to know about the correct include directories on its own.
This commit is contained in:
parent
c9072dd60a
commit
5b2c6c776a
2 changed files with 4 additions and 2 deletions
|
|
@ -83,7 +83,8 @@ libzstd_c_args = []
|
|||
if cc_id == compiler_msvc
|
||||
if default_library_type != 'static'
|
||||
libzstd_sources += [windows_mod.compile_resources(
|
||||
join_paths(zstd_rootdir, 'build/VS2010/libzstd-dll/libzstd-dll.rc'))]
|
||||
join_paths(zstd_rootdir, 'build/VS2010/libzstd-dll/libzstd-dll.rc'),
|
||||
include_directories: libzstd_includes)]
|
||||
libzstd_c_args += ['-DZSTD_DLL_EXPORT=1',
|
||||
'-DZSTD_HEAPMODE=0',
|
||||
'-D_CONSOLE',
|
||||
|
|
|
|||
|
|
@ -66,7 +66,8 @@ endif
|
|||
if cc_id == compiler_msvc
|
||||
if default_library_type != 'static'
|
||||
zstd_programs_sources += [windows_mod.compile_resources(
|
||||
join_paths(zstd_rootdir, 'build/VS2010/zstd/zstd.rc'))]
|
||||
join_paths(zstd_rootdir, 'build/VS2010/zstd/zstd.rc'),
|
||||
include_directories: libzstd_includes)]
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue