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

COMP: add a cmakedefine in otbConfigure.h for all optional thrid parties

parent 7047cd95
No related branches found
No related tags found
No related merge requests found
project(OTBCommon) project(OTBCommon)
configure_file(src/otbConfigure.h.in otbConfigure.h) configure_file(src/otbConfigure.h.in otbConfigure.h.in)
file(APPEND ${OTBCommon_BINARY_DIR}/otbConfigure.h.in
"/* Optional third parties activation status */\n")
foreach(_otb_module_activation_option IN LISTS OTB_MODULE_ACTIVATION_OPTION_LIST)
file(APPEND ${OTBCommon_BINARY_DIR}/otbConfigure.h.in
"#cmakedefine ${_otb_module_activation_option}\n")
endforeach()
configure_file(${OTBCommon_BINARY_DIR}/otbConfigure.h.in otbConfigure.h)
set(OTBCommon_INCLUDE_DIRS set(OTBCommon_INCLUDE_DIRS
${OTBCommon_BINARY_DIR} ${OTBCommon_BINARY_DIR}
......
...@@ -19,3 +19,4 @@ ...@@ -19,3 +19,4 @@
/* Show developper debug messages */ /* Show developper debug messages */
#cmakedefine OTB_SHOW_ALL_MSG_DEBUG #cmakedefine OTB_SHOW_ALL_MSG_DEBUG
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
=========================================================================*/ =========================================================================*/
#ifndef __otb_curl_h #ifndef __otb_curl_h
#define OTB_USE_CURL 1
#cmakedefine OTB_CURL_MULTI_AVAILABLE #cmakedefine OTB_CURL_MULTI_AVAILABLE
#include <curl/curl.h> #include <curl/curl.h>
......
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