Skip to content

Commit

Permalink
toolchain: build cmake if json-support is requested
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-zero committed Feb 1, 2019
1 parent 3c22345 commit acb40a1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/toolchain/install_cp2k_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,11 @@ if [ "$with_spglib" = "__INSTALL__" ] ; then
[ "$with_cmake" = "__DONTUSE__" ] && with_cmake="__INSTALL__"
fi

# json-fortran requires cmake.
if [ "$with_json_fortran" = "__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
Expand Down

0 comments on commit acb40a1

Please sign in to comment.