Commit 0ec543c3 authored by Julien Michel's avatar Julien Michel

ENH: Exporting CURL usage variable

parent c9ec118e
......@@ -357,9 +357,6 @@ IF(OTB_USE_CURL)
"Cannot find CURL library. Please set CURL_LIBRARY or SET OTB_USE_CURL OFF.")
ENDIF (NOT CURL_LIBRARY)
# Add compiler option
ADD_DEFINITIONS(-DOTB_USE_CURL)
INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIR})
ENDIF(OTB_USE_CURL)
......
......@@ -107,6 +107,9 @@ SET(OTB_DATA_LARGEINPUT "@OTB_DATA_LARGEINPUT@")
# Video card acceleration
SET(OTB_GL_USE_ACCEL "@OTB_GL_USE_ACCEL@")
# Curl library
SET(OTB_USE_CURL "@OTB_USE_CURL@")
#Developpers message
SET(OTB_SHOW_ALL_MSG_DEBUG "@OTB_SHOW_ALL_MSG_DEBUG@")
......
......@@ -66,6 +66,9 @@
/* Use Visu/Gui configurations */
#cmakedefine OTB_USE_VISU_GUI
/** Add the use curl directive */
#cmakedefine OTB_USE_CURL
#cmakedefine OTB_I18N
#define OTB_LANG @OTB_LANG@
#define OTB_LANG_LOCATION @OTB_LANG_LOCATION@
......
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