|
|
@ -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]: |
|
|
|