summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2007-03-09 16:35:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2007-03-09 16:35:53 (GMT)
commit50ed755b5b9bbeb0b0af3b2d2302f4a93d03c3c3 (patch)
tree36f0fa73b382f06f11a0c7714b9f2fa4004d8609 /CMakeLists.txt
parent31637efbfb958bd5f43bee5c870c501f09e76bdf (diff)
downloadCMake-50ed755b5b9bbeb0b0af3b2d2302f4a93d03c3c3.zip
CMake-50ed755b5b9bbeb0b0af3b2d2302f4a93d03c3c3.tar.gz
CMake-50ed755b5b9bbeb0b0af3b2d2302f4a93d03c3c3.tar.bz2
ENH: Prepare for the new curl. Curl is build static, so set define to on
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fe9c53c..e38d383 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,6 +168,7 @@ ELSE(CMAKE_USE_SYSTEM_CURL)
SET(CURL_SPECIAL_ZLIB_H ${CMAKE_ZLIB_HEADER})
SET(CURL_SPECIAL_LIBZ_INCLUDES ${CMAKE_ZLIB_INCLUDES})
SET(CURL_SPECIAL_LIBZ ${CMAKE_ZLIB_LIBRARIES})
+ ADD_DEFINITIONS(-DCURL_STATICLIB)
SUBDIRS(Utilities/cmcurl)
SET(CMAKE_CURL_INCLUDES)
SET(CMAKE_CURL_LIBRARIES cmcurl)