mirror of https://github.com/PCSX2/pcsx2.git
34 lines
425 B
CMake
34 lines
425 B
CMake
add_library(pcsx2-zlib
|
|
adler32.c
|
|
compress.c
|
|
crc32.c
|
|
deflate.c
|
|
gzclose.c
|
|
gzlib.c
|
|
gzread.c
|
|
gzwrite.c
|
|
infback.c
|
|
inffast.c
|
|
inflate.c
|
|
inftrees.c
|
|
trees.c
|
|
uncompr.c
|
|
zutil.c
|
|
crc32.h
|
|
deflate.h
|
|
inffast.h
|
|
inffixed.h
|
|
inflate.h
|
|
inftrees.h
|
|
trees.h
|
|
zconf.h
|
|
zlib.h
|
|
zutil.h
|
|
)
|
|
|
|
target_include_directories(pcsx2-zlib PUBLIC .)
|
|
|
|
add_library(ZLIB::ZLIB ALIAS pcsx2-zlib)
|
|
|
|
disable_compiler_warnings_for_target(pcsx2-zlib)
|