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

@ -54,7 +54,9 @@ if (Boost_FOUND)
include_directories(${Boost_INCLUDE_DIRS})
add_library(_cosmo_bispectrum MODULE _cosmo_bispectrum.cpp)
target_link_libraries(_cosmo_bispectrum ${MATH_LIBRARY})
add_dependencies(_cosmo_bispectrum boost)
if (Boost_DEP)
add_dependencies(_cosmo_bispectrum ${Boost_DEP})
endif()
SET(ct_TARGETS ${ct_TARGETS} _cosmo_bispectrum)
endif()