Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
otb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
273
Issues
273
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Main Repositories
otb
Commits
4a1ba594
Commit
4a1ba594
authored
Oct 30, 2014
by
Christophe Palmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: otbParserX : headers inclusion directives missing
parent
0bcdc95a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
CMake/FindMuParserX.cmake
CMake/FindMuParserX.cmake
+4
-4
CMake/otbIncludeDirectories.cmake
CMake/otbIncludeDirectories.cmake
+9
-0
No files found.
CMake/FindMuParserX.cmake
View file @
4a1ba594
# - 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.
# MUPARSER
X
_FOUND - True if MuParser found.
# MUPARSER
X
_INCLUDE_DIR - where to find tinyxml.h, etc.
# MUPARSER
X
_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 MUPARSER
X
_FOUND to TRUE if
# all listed variables are TRUE
include
(
FindPackageHandleStandardArgs
)
FIND_PACKAGE_HANDLE_STANDARD_ARGS
(
MuParserX DEFAULT_MSG MUPARSERX_LIBRARIES MUPARSERX_INCLUDE_DIR
)
...
...
CMake/otbIncludeDirectories.cmake
View file @
4a1ba594
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment