Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
7b97047b
Commit
7b97047b
authored
Dec 23, 2013
by
Brecht Van Lommel
Browse files
Options
Downloads
Patches
Plain Diff
CMake: attempt to fix Boost detection on Fedora 20, which omits -mt.
parent
890be761
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+7
-0
7 additions, 0 deletions
CMakeLists.txt
with
7 additions
and
0 deletions
CMakeLists.txt
+
7
−
0
View file @
7b97047b
...
...
@@ -741,6 +741,13 @@ if(UNIX AND NOT APPLE)
list
(
APPEND __boost_packages serialization
)
endif
()
find_package
(
Boost 1.48 COMPONENTS
${
__boost_packages
}
)
if
(
NOT Boost_FOUND
)
# try to find non-multithreaded if -mt not found, this flag
# doesn't matter for us, it has nothing to do with thread
# safety, but keep it to not disturb build setups
set
(
Boost_USE_MULTITHREADED OFF
)
find_package
(
Boost 1.48 COMPONENTS
${
__boost_packages
}
)
endif
()
unset
(
__boost_packages
)
if
(
Boost_USE_STATIC_LIBS AND WITH_BOOST_ICU
)
find_package
(
IcuLinux
)
...
...
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
sign in
to comment