summaryrefslogtreecommitdiffstats
path: root/Utilities/cm_curl.h
diff options
context:
space:
mode:
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