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
Julien Cabieces
otb
Commits
9997fffd
Commit
9997fffd
authored
8 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
COMP: boost optional components are set only with testing
parent
0ab7ed25
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Modules/ThirdParty/Boost/otb-module-init.cmake
+6
-8
6 additions, 8 deletions
Modules/ThirdParty/Boost/otb-module-init.cmake
with
6 additions
and
8 deletions
Modules/ThirdParty/Boost/otb-module-init.cmake
+
6
−
8
View file @
9997fffd
...
...
@@ -10,12 +10,10 @@ find_package ( Boost
# unit_test_framework component is used only in GdalAdapters module
if
(
BUILD_TESTING
)
set
(
OTB_Boost_OPTIONAL_COMPONENTS unit_test_framework
)
message
(
STATUS
"Looking for optional Boost components :
${
OTB_Boost_OPTIONAL_COMPONENTS
}
"
)
find_package
(
Boost
QUIET
1.35.0
COMPONENTS
${
OTB_Boost_OPTIONAL_COMPONENTS
}
)
endif
()
#Quiet find package to avoid message "Could not find boost" because unit_testing_framework is not installed
message
(
STATUS
"Looking for optional Boost components :
${
OTB_Boost_OPTIONAL_COMPONENTS
}
"
)
find_package
(
Boost
QUIET
1.35.0
COMPONENTS
${
OTB_Boost_OPTIONAL_COMPONENTS
}
)
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