Commit 5a8d698a authored by Casey Goodlett's avatar Casey Goodlett
Browse files

Better support for external boost (especially on windows)

parent 5c5a37b5
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}
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment