Commit 01d06785 authored by Julien Malik's avatar Julien Malik

COMP: do not store build dir in otbConfigure.h to be used for...

COMP: do not store build dir in otbConfigure.h to be used for ConfigurationFile. this does not support install dir
parent 11fd397c
......@@ -73,9 +73,6 @@
#cmakedefine TIXML_USE_STL
#endif
/* Path of OTB binaries and OTB install */
#define OTB_CONFIG "@OTB_BINARY_DIR@"
/* Deprecated Management */
#cmakedefine OTB_USE_DEPRECATED
......
......@@ -43,12 +43,6 @@ ConfigurationFile
m_OTBConfig = LoadSilent(envVar);
}
}
if ( !m_OTBConfig )
{
std::string OTBBinDir(OTB_CONFIG);
m_OTBConfig = LoadSilent(OTBBinDir + "/otb.conf");
}
}
ConfigurationFile
......
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