Merge pull request #787 from akohlmey/user-atc-dep

Make the USER-ATC package depend on MANYBODY
This commit is contained in:
Steve Plimpton 2018-02-02 14:44:36 -07:00 committed by GitHub
commit 5383035828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,16 @@ action () {
fi
}
# ATC library has a reference to PairEAM, so we must
# require the MANYBODY package to be installed.
if (test $1 = 1) then
if (test ! -e ../pair_eam.cpp) then
echo "Must install MANYBODY package with USER-ATC"
exit 1
fi
fi
# all package files with no dependencies
for file in *.cpp *.h; do