summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2004-02-16 14:49:29 (GMT)
committerKen Martin <ken.martin@kitware.com>2004-02-16 14:49:29 (GMT)
commita46e0d34760d980e7a6e26ad9a4f329d9d3475ba (patch)
tree918e3916dff63f7711b99c7999e4e22dc82e0a01 /Source
parenteb7ab7964a3e9c2137d360ecae0c702a67668c92 (diff)
downloadCMake-a46e0d34760d980e7a6e26ad9a4f329d9d3475ba.zip
CMake-a46e0d34760d980e7a6e26ad9a4f329d9d3475ba.tar.gz
CMake-a46e0d34760d980e7a6e26ad9a4f329d9d3475ba.tar.bz2
fix warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/CTest/Curl/CMakeLists.txt17
1 files changed, 14 insertions, 3 deletions
diff --git a/Source/CTest/Curl/CMakeLists.txt b/Source/CTest/Curl/CMakeLists.txt
index ef3911a..9025ff5 100644
--- a/Source/CTest/Curl/CMakeLists.txt
+++ b/Source/CTest/Curl/CMakeLists.txt
@@ -59,17 +59,23 @@ SET(libCurl_SRCS
transfer.c
strequal.c
easy.c
- security.c
- krb4.c
http_chunks.c
strtok.c
connect.c
llist.c
hash.c
multi.c
- content_encoding.c
)
+
+# if we have Kerberos 4, right now this is never on
+IF(KRB4)
+ SET(libCurl_SRCS ${libCurl_SRCS}
+ krb4.c
+ security.c
+ )
+ENDIF(KRB4)
+
OPTION(CURL_MALLOC_DEBUG "Debug mallocs in Curl" OFF)
MARK_AS_ADVANCED(CURL_MALLOC_DEBUG)
IF(CURL_MALLOC_DEBUG)
@@ -78,6 +84,7 @@ IF(CURL_MALLOC_DEBUG)
)
ENDIF(CURL_MALLOC_DEBUG)
+
# On windows preload settings
IF(WIN32)
INCLUDE(${LIBCURL_SOURCE_DIR}/Platforms/WindowsCache.cmake)
@@ -381,6 +388,10 @@ IF(NOT HAVE_ZLIB_H)
SET(HAVE_LIBZ 0)
ENDIF(NOT HAVE_ZLIB_H)
+IF(HAVE_LIBZ)
+ SET(libCurl_SRCS ${libCurl_SRCS} content_encoding.c)
+ENDIF(HAVE_LIBZ)
+
# Check for nonblocking
SET(HAVE_SOME_NONBLOCK 0)