mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 05:43:24 +00:00
28 lines
430 B
CMake
28 lines
430 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()
|