Commit ee127564 authored by gsell's avatar gsell
Browse files

fixes to find boost

parent f302c2c1
......@@ -32,12 +32,8 @@ FIND_PACKAGE (H5Hut REQUIRED)
FIND_PACKAGE (HDF5 REQUIRED)
FIND_PACKAGE (GSL REQUIRED)
set(BOOST_ROOT $ENV{BOOST_DIR})
set(Boost_USE_STATIC_LIBS ON)
set(BOOST_NO_SYSTEM_PATHS TRUE)
set(BOOST_INCLUDEDIR $ENV{BOOST_DIR})
set(BOOST_LIBRARYDIR $ENV{BOOST_DIR}}/lib)
find_package (Boost REQUIRED)
set (BOOSTROOT $ENV{BOOST_DIR})
find_package (Boost 1.55.0 REQUIRED)
if (Boost_INCLUDE_DIRS)
message (STATUS "Found boost include dir: ${Boost_INCLUDE_DIR}")
include_directories (${Boost_INCLUDE_DIRS})
......
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