Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Nektar
Nektar
Commits
5c9f4bcb
Commit
5c9f4bcb
authored
Dec 11, 2012
by
Chris Cantwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for Linux distributions which do not symlink the -mt Boost thread lib
parent
e7aa3c5a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cmake/ThirdPartyBoost.cmake
cmake/ThirdPartyBoost.cmake
+5
-0
No files found.
cmake/ThirdPartyBoost.cmake
View file @
5c9f4bcb
...
...
@@ -99,6 +99,11 @@ ELSE (THIRDPARTY_BUILD_BOOST)
FIND_PACKAGE
(
Boost COMPONENTS thread iostreams zlib date_time filesystem system program_options regex
)
SET
(
BOOST_ROOT
${
CMAKE_SOURCE_DIR
}
/ThirdParty/dist
)
FIND_PACKAGE
(
Boost COMPONENTS thread iostreams zlib date_time filesystem system program_options regex
)
# Hack for odd distributions which do not symlink for non -mt thread lib
IF
(
NOT BOOST_THREAD_FOUND
)
SET
(
Boost_USE_MULTITHREADED ON
)
FIND_PACKAGE
(
Boost COMPONENTS thread
)
ENDIF
()
ELSE
()
FIND_PACKAGE
(
Boost COMPONENTS thread iostreams zlib date_time filesystem system program_options regex
)
ENDIF
()
...
...
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