Commit 049454ce authored by Emmanuel Christophe's avatar Emmanuel Christophe

COMP: use curl by default if you can find it

parent 249d9a49
......@@ -300,7 +300,13 @@ ENDIF(OTB_USE_VISU_GUI)
#-------------------------------
# CURL Library
#-------------------------------
OPTION(OTB_USE_CURL "Use curl library." OFF)
FIND_PACKAGE(CURL)
IF(CURL_FOUND)
OPTION(OTB_USE_CURL "Use curl library." ON)
ELSE(CURL_FOUND)
OPTION(OTB_USE_CURL "Use curl library." OFF)
ENDIF(CURL_FOUND)
MARK_AS_ADVANCED(OTB_USE_CURL)
IF(OTB_USE_CURL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment