Commit 960ee90e authored by Dominik Charousset's avatar Dominik Charousset

Merge pull request #66 from mavam/topic/build-harness

Avoid CMake pain when using custom Boost prefix.
parents e63cd5e0 23d4cc60
...@@ -155,6 +155,10 @@ if (NOT DISABLE_CONTEXT_SWITCHING) ...@@ -155,6 +155,10 @@ if (NOT DISABLE_CONTEXT_SWITCHING)
) )
endif () endif ()
if (BOOST_ROOT)
# Prevent falling back to system paths when using a custom Boost prefix.
set(Boost_NO_SYSTEM_PATHS true)
endif ()
find_package(Boost REQUIRED) find_package(Boost REQUIRED)
find_package(PTHREAD REQUIRED) find_package(PTHREAD REQUIRED)
......
Markdown is supported
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