Fixed boost dependency. Fixed I/O in test bispectrum

This commit is contained in:
Guilhem Lavaux 2016-11-26 21:43:49 +01:00
parent c61daed876
commit 8b2f0f7557
3 changed files with 6 additions and 2 deletions

View file

@ -155,9 +155,11 @@ if (INTERNAL_BOOST)
set(Boost_INCLUDE_DIRS ${BOOST_SOURCE_DIR} CACHE STRING "Boost path" FORCE)
set(Boost_LIBRARIES ${BOOST_SOURCE_DIR}/stage/lib/libboost_python.a CACHE STRING "Boost libraries" FORCE)
set(Boost_FOUND YES)
set(Boost_DEP boost)
ELSE (INTERNAL_BOOST)
find_package(Boost 1.53)
set(Boost_DEP)
endif (INTERNAL_BOOST)
mark_as_advanced(Boost_INCLUDE_DIRS Boost_LIBRARIES)