diff --git a/CMakeLists.txt b/CMakeLists.txt index 48157ebcdfb5413697de09d96cdfd1db5569c89f..bd8f67e09323b9019b17a9fefe56df5501524025 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,10 +33,9 @@ if(DEFINED ENV{BOOST_ROOT}) set(BOOST_ROOT "$ENV{BOOST_ROOT}") message("-- BOOST_ROOT is set: ${BOOST_ROOT}") else(DEFINED ENV{BOOST_ROOT}) - message("-- Note: BOOST_ROOT not set.") + message("-- Note: BOOST_ROOT not set. Let's see whether we can find BOOST anyway.") endif(DEFINED ENV{BOOST_ROOT}) -message("-- BOOST_ROOT is set: ${BOOST_ROOT}") -find_package(Boost 1.60.0 COMPONENTS python mpi filesystem serialization) +find_package(Boost COMPONENTS python mpi filesystem serialization) include_directories(${Boost_INCLUDE_DIRS}) find_package(MPI REQUIRED)