summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2019-08-22 15:09:17 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-23 00:39:12 +0300
commit11e34ca7fc8ddaa2eb996ade6c2a52f8e837066f (patch)
treea183f60e889b5e5f7dd1e0758f28db85a35ffeef
parentf097b96883a54868cf98600be23893268b5832f4 (diff)
downloadmeson-11e34ca7fc8ddaa2eb996ade6c2a52f8e837066f.tar.gz
correct logic for too old cmake
-rw-r--r--mesonbuild/cmake/executor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cmake/executor.py b/mesonbuild/cmake/executor.py
index 9bed7379d..b7e341dcf 100644
--- a/mesonbuild/cmake/executor.py
+++ b/mesonbuild/cmake/executor.py
@@ -43,11 +43,11 @@ class CMakeExecutor:
return
if not version_compare(self.cmakevers, self.min_version):
- self.cmakebin = None
mlog.warning(
'The version of CMake', mlog.bold(self.cmakebin.get_path()),
'is', mlog.bold(self.cmakevers), 'but version', mlog.bold(self.min_version),
'is required')
+ self.cmakebin = None
return
def find_cmake_binary(self, environment: Environment, silent: bool = False) -> Tuple['ExternalProgram', str]: