diff options
author | Peter Powell <petpow@saberuk.com> | 2016-05-21 17:54:33 +0100 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-02 14:00:22 -0400 |
commit | f3a0a4801dc3b767ddf13dd9137bbf9a1f1d8bc4 (patch) | |
tree | c13d34263d66b1f95999531b5aa8cdeab9af5bf0 /Config | |
parent | 04ab5f59663fe1e1ceb409d342e7a0f8c1d91728 (diff) |
Use "cmake --version" instead of "which cmake" to detect CMake.
(cherry picked from commit 7592a6981b9b1e7906d1ddb9808d55c45d6461ae)
Diffstat (limited to 'Config')
-rwxr-xr-x | Config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,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." |