Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Main Repositories
otb
Commits
19c78d62
Commit
19c78d62
authored
Mar 26, 2009
by
Emmanuel Christophe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: gives the possibility to use the boost library installed on the system
parent
95a6a29e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
CMakeLists.txt
CMakeLists.txt
+13
-0
Utilities/CMakeLists.txt
Utilities/CMakeLists.txt
+5
-1
otbIncludeDirectories.cmake
otbIncludeDirectories.cmake
+6
-0
No files found.
CMakeLists.txt
View file @
19c78d62
...
@@ -312,6 +312,19 @@ IF(OTB_USE_CURL)
...
@@ -312,6 +312,19 @@ IF(OTB_USE_CURL)
ENDIF
(
OTB_USE_CURL
)
ENDIF
(
OTB_USE_CURL
)
#-------------------------------
# Boost Library
#-------------------------------
# Option for internal/external BOOST
OPTION
(
OTB_USE_EXTERNAL_BOOST
"Use an outside build of Boost."
OFF
)
MARK_AS_ADVANCED
(
OTB_USE_EXTERNAL_BOOST
)
IF
(
OTB_USE_EXTERNAL_BOOST
)
FIND_PACKAGE
(
Boost
)
INCLUDE_DIRECTORIES
(
${
Boost_INCLUDE_DIR
}
)
ENDIF
(
OTB_USE_EXTERNAL_BOOST
)
#-------------------------------
#-------------------------------
# GDAL Library
# GDAL Library
#-------------------------------
#-------------------------------
...
...
Utilities/CMakeLists.txt
View file @
19c78d62
...
@@ -25,8 +25,12 @@ IF(NOT OTB_USE_EXTERNAL_EXPAT)
...
@@ -25,8 +25,12 @@ IF(NOT OTB_USE_EXTERNAL_EXPAT)
SUBDIRS
(
otbexpat
)
SUBDIRS
(
otbexpat
)
ENDIF
(
NOT OTB_USE_EXTERNAL_EXPAT
)
ENDIF
(
NOT OTB_USE_EXTERNAL_EXPAT
)
IF
(
NOT OTB_USE_EXTERNAL_BOOST
)
SUBDIRS
(
BGL
)
ENDIF
(
NOT OTB_USE_EXTERNAL_BOOST
)
SUBDIRS
(
BGL otbsvm dxflib InsightJournal otbossim otbossimplugins otb6S tinyXMLlib otbkml otbliblas otbedison otbsiftfast
)
SUBDIRS
(
otbsvm dxflib InsightJournal otbossim otbossimplugins otb6S tinyXMLlib otbkml otbliblas otbedison otbsiftfast
)
IF
(
BUILD_TESTING
)
IF
(
BUILD_TESTING
)
SUBDIRS
(
Dart
)
SUBDIRS
(
Dart
)
...
...
otbIncludeDirectories.cmake
View file @
19c78d62
...
@@ -247,6 +247,12 @@ IF(OTB_USE_CURL)
...
@@ -247,6 +247,12 @@ IF(OTB_USE_CURL)
${
CURL_INCLUDE_DIR
}
)
${
CURL_INCLUDE_DIR
}
)
ENDIF
(
OTB_USE_CURL
)
ENDIF
(
OTB_USE_CURL
)
#For BOOST header file
IF
(
OTB_USE_BOOST
)
SET
(
OTB_INCLUDE_DIRS_INSTALL_TREE
${
OTB_INCLUDE_DIRS_INSTALL_TREE
}
${
Boost_INCLUDE_DIR
}
)
ENDIF
(
OTB_USE_BOOST
)
# For OpentTreads header file
# For OpentTreads header file
IF
(
NOT OTB_USE_EXTERNAL_OPENTHREADS
)
IF
(
NOT OTB_USE_EXTERNAL_OPENTHREADS
)
SET
(
OTB_INCLUDE_DIRS_INSTALL_TREE
${
OTB_INCLUDE_DIRS_INSTALL_TREE
}
SET
(
OTB_INCLUDE_DIRS_INSTALL_TREE
${
OTB_INCLUDE_DIRS_INSTALL_TREE
}
...
...
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