From bef87870d5e9399ee48958e9f58aba95f6bdddf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Thu, 20 Dec 2018 16:01:43 +0100 Subject: [PATCH] Toolchain: Add cmake dependency to spglib --- tools/toolchain/install_cp2k_toolchain.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/toolchain/install_cp2k_toolchain.sh b/tools/toolchain/install_cp2k_toolchain.sh index 34ba5e6480..036679e8fe 100755 --- a/tools/toolchain/install_cp2k_toolchain.sh +++ b/tools/toolchain/install_cp2k_toolchain.sh @@ -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