summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_curl.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-09-29 19:47:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-09-29 19:47:46 (GMT)
commit6cf99d7bea3db24c27f08884239aae24bbd2b677 (patch)
tree2dda62019b67ca3774550da8af3d650d3bfab5b9 /Utilities/cm_curl.h
parent5824aa614353b7a5443ab7fdfa95eddf062e04be (diff)
downloadCMake-6cf99d7bea3db24c27f08884239aae24bbd2b677.zip
CMake-6cf99d7bea3db24c27f08884239aae24bbd2b677.tar.gz
CMake-6cf99d7bea3db24c27f08884239aae24bbd2b677.tar.bz2
ENH: check in ability to build with new curl -f -DCMAKE_USE_NEW_CURL is set
Diffstat (limited to 'Utilities/cm_curl.h')
-rw-r--r--Utilities/cm_curl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Utilities/cm_curl.h b/Utilities/cm_curl.h
index 0fcb5c5..9736b35 100644
--- a/Utilities/cm_curl.h
+++ b/Utilities/cm_curl.h
@@ -22,7 +22,11 @@
#ifdef CMAKE_USE_SYSTEM_CURL
# include <curl/curl.h>
#else
-# include <cmcurl/curl/curl.h>
+# ifdef CMAKE_USE_NEW_CURL
+# include <cmcurl-7.19.0/include/curl/curl.h>
+# else CMAKE_USE_NEW_CURL
+# include <cmcurl/curl/curl.h>
+# endif
#endif
#endif