Skip to content
Snippets Groups Projects
Commit c3de792a authored by Julien Malik's avatar Julien Malik
Browse files

COMP: make CurlAdapter react to OTB_USE_CURL compilation macro

parent 159bc14f
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include <iosfwd> #include <iosfwd>
#include "itkObject.h" #include "itkObject.h"
#include "itkObjectFactory.h" #include "itkObjectFactory.h"
#include "otbConfigure.h"
namespace otb namespace otb
{ {
......
...@@ -20,10 +20,13 @@ ...@@ -20,10 +20,13 @@
#include <cstring> #include <cstring>
#include <sstream> #include <sstream>
#include <itkLightObject.h> #include <itkLightObject.h>
#include "otb_curl.h" #include "otbConfigure.h" // for OTB_USE_CURL
#include "otbCurlHelper.h"
#include "otbMacro.h" #include "otbMacro.h"
#include "otbCurlHelper.h"
#ifdef OTB_USE_CURL
# include "otb_curl.h"
#endif
namespace otb namespace otb
{ {
......
...@@ -16,9 +16,13 @@ ...@@ -16,9 +16,13 @@
=========================================================================*/ =========================================================================*/
#include "otb_curl.h" #include "otbConfigure.h" // for OTB_USE_CURL
#include "otbCurlHelperInterface.h" #include "otbCurlHelperInterface.h"
#ifdef OTB_USE_CURL
# include "otb_curl.h"
#endif
namespace otb { namespace otb {
bool bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment