From 7592a6981b9b1e7906d1ddb9808d55c45d6461ae Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 21 May 2016 17:54:33 +0100 Subject: Use "cmake --version" instead of "which cmake" to detect CMake. --- Config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Config') diff --git a/Config b/Config index 896aa4025..13d345e57 100755 --- a/Config +++ b/Config @@ -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." -- cgit