diff options
author | Adam <adam@sigterm.info> | 2016-07-03 13:46:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-03 13:46:41 -0400 |
commit | 3b2366e4ba8456c9bffcd0a227ad2efb838ef7f7 (patch) | |
tree | c7a065c394e9edd2ca758156c1f0f98a4ffd5c51 | |
parent | 257a8a9a24db3a0985ce3039c67d753f66ca57d9 (diff) | |
parent | 7592a6981b9b1e7906d1ddb9808d55c45d6461ae (diff) |
Merge pull request #169 from SaberUK/2.0+which
Use "cmake --version" instead of "which cmake" to detect CMake.
-rwxr-xr-x | Config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ done # Check for CMake and (optionally) install it ########################################################################### -which cmake > /dev/null +cmake --version 2>&1 > /dev/null if [ $? -ne 0 ] ; then clear echo "Anope requires CMake 2.4 or newer, which can be downloaded at http://cmake.org or through your system's package manager." |