Open ryanlevy opened 5 years ago
It might be an ALPSCore problem, i'll look at it shortly.
I've loaded up a Ubuntu 14.04 VM and cannot replicate this error for some reason
Thanks!
Correction: this happens in my Ubuntu 18.04.1 LTS
What is the cmake version in Ubuntu 18.04?
version 3.10.2 (and 3.5.1 in 14.04 which seems to be behind travis)
Thanks! In the Travis build CMake 3.9.2 is used.
...and i can reproduce the error with CMake 3.9.6.
Quick workaround: in CMakeLists.txt
, right after find_package(ALPSCore 2.0 REQUIRED)
, add set(Boost_NO_SYSTEM_PATHS false)
.
That fixes it with cmake 3.10.2!
It's a bug in ALPSCore, i am thinking how best to fix it while still deterring the ALPSCore user from accidentally finding the wrong Boost. So, do not add this workaround to the repository yet: it's better to have ALPSCore fixed.
As discovered in #47, Travis fails on the cmake scripts when finding boost_program_options (the compiled lib)