Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LidarView
LidarView-Superbuild
Commits
5a8d698a
Commit
5a8d698a
authored
Jul 10, 2015
by
Casey Goodlett
Browse files
Better support for external boost (especially on windows)
parent
5c5a37b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Projects/boost.use.system.cmake
View file @
5a8d698a
set
(
BOOST_INCLUDEDIR
"
${
BOOST_INCLUDEDIR
}
"
CACHE PATH
"Location of boost header files"
FORCE
)
set
(
BOOST_LIBRARYDIR
"
${
BOOST_LIBRARYDIR
}
"
CACHE PATH
"Location of boost library files"
FORCE
)
set
(
Boost_NO_BOOST_CMAKE ON
)
find_package
(
Boost REQUIRED
)
# This is a hack. If boost was found by some other mechanism then the
# assumptions here would fail.
add_extra_cmake_args
(
-DBOOST_INCLUDEDIR:PATH=
${
BOOST_INCLUDEDIR
}
-DBOOST_LIBRARYDIR:PATH=
${
BOOST_LIBRARYDIR
}
)
Write
Preview
Supports
Markdown
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