aboutsummaryrefslogtreecommitdiff
path: root/externals/zlib
diff options
context:
space:
mode:
authorclick <none@none>2010-06-30 16:51:37 +0200
committerclick <none@none>2010-06-30 16:51:37 +0200
commitf8bb7afa9817411beda1f2492d18c61679e9a5f9 (patch)
treee540447cf30fee482256f26ec1a298c565034b18 /externals/zlib
parentfc1ed4b1099b05137b6c72a09b058b56936c2225 (diff)
And even more CMake-specific cleanups (mutes most of the "non-harmful" warnings - VS is just trying to be too friendly/noisy at times)
--HG-- branch : trunk
Diffstat (limited to 'externals/zlib')
-rw-r--r--externals/zlib/CMakeLists.txt19
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})