Toolchain: Add cmake dependency to spglib

This commit is contained in:
Ole Schütt 2018-12-20 16:01:43 +01:00 committed by Ole Schütt
parent 3ffb78d71a
commit bef87870d5

View file

@ -723,13 +723,18 @@ else
exit 1
fi
fi
# ParMETIS requires cmake, it also installs METIS if it is chosen
# __INSTALL__ option
if [ "$with_parmetis" = "__INSTALL__" ] ; then
[ "$with_cmake" = "__DONTUSE__" ] && with_cmake="__INSTALL__"
with_metis="__INSTALL__"
fi
# spg library requires cmake.
if [ "$with_spglib" = "__INSTALL__" ] ; then
[ "$with_cmake" = "__DONTUSE__" ] && with_cmake="__INSTALL__"
fi
# SIRIUS dependencies. Remove the gsl library from the dependencies if SIRIUS is not activated
if [ "$with_sirius" = "__INSTALL__" ] ; then
if [ "$with_gsl" = "__DONTUSE__" ] ; then