summaryrefslogtreecommitdiff
path: root/zlib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/CMakeLists.txt')
-rwxr-xr-xzlib/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/zlib/CMakeLists.txt b/zlib/CMakeLists.txt
index 2d0706d024e..8aae6bdd287 100755
--- a/zlib/CMakeLists.txt
+++ b/zlib/CMakeLists.txt
@@ -18,10 +18,8 @@ INCLUDE_DIRECTORIES(
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/zlib
)
-
SET(ZLIB_SOURCES adler32.c compress.c crc32.c crc32.h deflate.c deflate.h gzio.c infback.c inffast.c inffast.h
inffixed.h inflate.c inflate.h inftrees.c inftrees.h trees.c trees.h uncompr.c zconf.h zlib.h
zutil.c zutil.h)
-USE_ABSOLUTE_FILENAMES(ZLIB_SOURCES)
-ADD_LIBRARY(zlib ${ZLIB_SOURCES})
+ADD_CONVENIENCE_LIBRARY(zlib ${ZLIB_SOURCES})