mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
8efcb1c052
svn path=/branches/cmake-bringup/; revision=48270
18 lines
294 B
CMake
18 lines
294 B
CMake
|
|
file(GLOB_RECURSE SOURCE "*.c")
|
|
|
|
LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/minigzip.c)
|
|
LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/example.c)
|
|
|
|
add_definitions(-DNO_VIZ)
|
|
|
|
if(CMAKE_CROSSCOMPILING)
|
|
|
|
add_library(zlib ${SOURCE})
|
|
|
|
else()
|
|
|
|
add_library(zlibhost ${SOURCE})
|
|
|
|
endif()
|
|
|