correct logic for too old cmake

pull/5837/head
Michael Hirsch, Ph.D 5 years ago committed by Jussi Pakkanen
parent f097b96883
commit 11e34ca7fc
  1. 2
      mesonbuild/cmake/executor.py

@ -43,11 +43,11 @@ class CMakeExecutor:
return return
if not version_compare(self.cmakevers, self.min_version): if not version_compare(self.cmakevers, self.min_version):
self.cmakebin = None
mlog.warning( mlog.warning(
'The version of CMake', mlog.bold(self.cmakebin.get_path()), 'The version of CMake', mlog.bold(self.cmakebin.get_path()),
'is', mlog.bold(self.cmakevers), 'but version', mlog.bold(self.min_version), 'is', mlog.bold(self.cmakevers), 'but version', mlog.bold(self.min_version),
'is required') 'is required')
self.cmakebin = None
return return
def find_cmake_binary(self, environment: Environment, silent: bool = False) -> Tuple['ExternalProgram', str]: def find_cmake_binary(self, environment: Environment, silent: bool = False) -> Tuple['ExternalProgram', str]:

Loading…
Cancel
Save