diff options
-rw-r--r-- | CMakeLists.txt | 8 | ||||
-rw-r--r-- | Utilities/cmThirdParty.h.in | 1 | ||||
-rw-r--r-- | Utilities/cm_curl.h | 6 |
3 files changed, 2 insertions, 13 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6675d49..95a9f9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -257,13 +257,7 @@ MACRO (CMAKE_BUILD_UTILITIES) ENDIF(NOT CMAKE_BUILD_CURL_SHARED) SET(CMAKE_CURL_INCLUDES) SET(CMAKE_CURL_LIBRARIES cmcurl) - IF(CMAKE_USE_NEW_CURL) - # for cmake never build examples - SET(CURL_SKIP_EXAMPLES TRUE) - ADD_SUBDIRECTORY(Utilities/cmcurl-7.19.0) - ELSE(CMAKE_USE_NEW_CURL) - SUBDIRS(Utilities/cmcurl) - ENDIF(CMAKE_USE_NEW_CURL) + SUBDIRS(Utilities/cmcurl) ENDIF(CMAKE_USE_SYSTEM_CURL) #--------------------------------------------------------------------- diff --git a/Utilities/cmThirdParty.h.in b/Utilities/cmThirdParty.h.in index 0133428..845a1bd 100644 --- a/Utilities/cmThirdParty.h.in +++ b/Utilities/cmThirdParty.h.in @@ -22,6 +22,5 @@ #cmakedefine CMAKE_USE_SYSTEM_EXPAT #cmakedefine CMAKE_USE_SYSTEM_XMLRPC #cmakedefine CMAKE_USE_SYSTEM_ZLIB -#cmakedefine CMAKE_USE_NEW_CURL #endif diff --git a/Utilities/cm_curl.h b/Utilities/cm_curl.h index bc21192..0fcb5c5 100644 --- a/Utilities/cm_curl.h +++ b/Utilities/cm_curl.h @@ -22,11 +22,7 @@ #ifdef CMAKE_USE_SYSTEM_CURL # include <curl/curl.h> #else -# ifdef CMAKE_USE_NEW_CURL -# include <cmcurl-7.19.0/include/curl/curl.h> -# else -# include <cmcurl/curl/curl.h> -# endif +# include <cmcurl/curl/curl.h> #endif #endif |