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
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).
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.
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)
.