diff options
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/zlib/CMakeLists.txt | 19 | 
1 files changed, 14 insertions, 5 deletions
| diff --git a/externals/zlib/CMakeLists.txt b/externals/zlib/CMakeLists.txt index bd194531bb5..e53fae3053d 100644 --- a/externals/zlib/CMakeLists.txt +++ b/externals/zlib/CMakeLists.txt @@ -8,15 +8,24 @@  # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the  # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -file(GLOB sources *.c) -file(GLOB headers *.h)  SET(zlib_STAT_SRCS -  ${sources} -  ) +  adler32.c                                                                                                                                            +  compress.c                                                                                                                                           +  crc32.c                                                                                                                                              +  deflate.c                                                                                                                                            +  example.c                                                                                                                                            +  infback.c                                                                                                                                            +  inffast.c                                                                                                                                            +  inflate.c                                                                                                                                            +  inftrees.c                                                                                                                                           +  trees.c                                                                                                                                              +  uncompr.c                                                                                                                                            +  zutil.c    +)  include_directories(    ${CMAKE_CURRENT_SOURCE_DIR} -  ) +)  add_library(zlib STATIC ${zlib_STAT_SRCS}) | 
