mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
27 lines
429 B
CMake
27 lines
429 B
CMake
|
|
add_definitions(-DNO_VIZ)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
|
|
|
list(APPEND SOURCE
|
|
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)
|
|
|
|
if(CMAKE_CROSSCOMPILING)
|
|
add_library(zlib ${SOURCE})
|
|
else()
|
|
add_library(zlibhost ${SOURCE})
|
|
endif()
|