ValeevGroup / mpqc

The Massively Parallel Quantum Chemistry program, MPQC, computes properties of atoms and molecules from first principles using the time independent Schrödinger equation.
66 stars 24 forks source link

external/Boost too strict for Debian/Ubuntu system libraries #52

Closed mbanck closed 6 years ago

mbanck commented 7 years ago

I couldn't get CMake's find_package to find the two Boost libraries (system and thread) via external/Boost.

This script requires BOOST to be defined (which I set to /usr), but then it apparently tells find_package not to look in e.g. /usr/lib/x86_64-linux-gnu where the Boost libraries actually are due to setting set(Boost_NO_SYSTEM_PATHS TRUE).

One possible solution would be a top-level CMake define like -DSYSTEM_BOOST=1, setting of which would not require to set the BOOST variable and would disable the set(Boost_NO_SYSTEM_PATHS TRUE).

evaleev commented 6 years ago

3.0 code revision has been abandoned, 4.0.0-beta.1 is live in master (and will be shortly released) and will be maintained. Please refile if this is an issue with v4.