Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
b2854cb9
Commit
b2854cb9
authored
14 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: OTB librairies build with the same shared/static options as external ITK
parent
0f45509c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-0
3 additions, 0 deletions
CMakeLists.txt
with
3 additions
and
0 deletions
CMakeLists.txt
+
3
−
0
View file @
b2854cb9
...
...
@@ -213,6 +213,9 @@ IF(OTB_USE_EXTERNAL_ITK)
MESSAGE
(
FATAL_ERROR
"Cannot build OTB project without ITK. Please set ITK_DIR or set OTB_USE_EXTERNAL_ITK OFF to use INTERNAL ITK set on OTB/Utilities repository."
)
ENDIF
(
ITK_FOUND
)
#Build shared libraries for otb
#By default, if otb use an external itk import the option from the ITK configuration
SET
(
BUILD_SHARED_LIBS
${
ITK_BUILD_SHARED
}
)
ELSE
(
OTB_USE_EXTERNAL_ITK
)
# Required to have proper itk headers at first run
SET
(
ITK_SOURCE_DIR
${
OTB_SOURCE_DIR
}
/Utilities/ITK
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment