[CMAKE]: Add almost all the 3rdparty libs. The remaining ones are more annoying and...
[reactos.git] / lib / 3rdparty / zlib / CMakeLists.txt
1
2 file(GLOB_RECURSE SOURCE "*.c")
3
4 LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/minigzip.c)
5 LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/example.c)
6
7 add_definitions(-DNO_VIZ)
8
9 if(CMAKE_CROSSCOMPILING)
10
11 add_library(zlib ${SOURCE})
12
13 else()
14
15 add_library(zlibhost ${SOURCE})
16
17 endif()
18