aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/bootstrap.py')
-rw-r--r--python/servo/bootstrap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/bootstrap.py b/python/servo/bootstrap.py
index a8154c72607..e20fda210a6 100644
--- a/python/servo/bootstrap.py
+++ b/python/servo/bootstrap.py
@@ -5,7 +5,7 @@
from __future__ import absolute_import, print_function
from distutils.spawn import find_executable
-from distutils.version import StrictVersion
+from distutils.version import LooseVersion
import json
import os
import platform
@@ -187,7 +187,7 @@ def windows_msvc(context, force=False):
if cmake_path:
cmake = subprocess.Popen([cmake_path, "--version"], stdout=PIPE)
cmake_version = cmake.stdout.read().splitlines()[0].replace("cmake version ", "")
- if StrictVersion(cmake_version) >= StrictVersion(version):
+ if LooseVersion(cmake_version) >= LooseVersion(version):
return True
return False