Commit 4a1ba594 authored by Christophe Palmann's avatar Christophe Palmann

COMP: otbParserX : headers inclusion directives missing

parent 0bcdc95a
# - Find MuParserX
# Find the native MuParser includes and library
#
# MUPARSER_FOUND - True if MuParser found.
# MUPARSER_INCLUDE_DIR - where to find tinyxml.h, etc.
# MUPARSER_LIBRARIES - List of libraries when using MuParser.
# MUPARSERX_FOUND - True if MuParser found.
# MUPARSERX_INCLUDE_DIR - where to find tinyxml.h, etc.
# MUPARSERX_LIBRARIES - List of libraries when using MuParser.
#
if( MUPARSERX_INCLUDE_DIR )
......@@ -18,7 +18,7 @@ find_library( MUPARSERX_LIBRARIES
NAMES muparserx
PATH_SUFFIXES muparserx )
# handle the QUIETLY and REQUIRED arguments and set MUPARSER_FOUND to TRUE if
# handle the QUIETLY and REQUIRED arguments and set MUPARSERX_FOUND to TRUE if
# all listed variables are TRUE
include( FindPackageHandleStandardArgs )
FIND_PACKAGE_HANDLE_STANDARD_ARGS( MuParserX DEFAULT_MSG MUPARSERX_LIBRARIES MUPARSERX_INCLUDE_DIR )
......
......@@ -301,6 +301,15 @@ else()
Utilities/otbmuparser)
endif()
#For MuParserX header file
if(OTB_USE_EXTERNAL_MUPARSERX)
set(OTB_INCLUDE_ABSOLUE_DIRS ${OTB_INCLUDE_ABSOLUE_DIRS}
${MUPARSERX_INCLUDE_DIR})
else()
set(OTB_INCLUDE_RELATIVE_DIRS ${OTB_INCLUDE_RELATIVE_DIRS}
Utilities/otbmuparserx)
endif()
#For LibKML header file
if(OTB_USE_EXTERNAL_LIBKML)
set(OTB_INCLUDE_ABSOLUE_DIRS ${OTB_INCLUDE_ABSOLUE_DIRS}
......
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