aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/ci/dirs.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-07 16:48:07 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-07 17:24:30 +0300
commitce359a1ae006b588b4427ef8784224a36ada4caf (patch)
tree2cafe6790d1a1e766ef4113c20d2a8c03df4312e /project/ci/dirs.py
parentv2.3 (diff)
downloadcmake-common-ce359a1ae006b588b4427ef8784224a36ada4caf.tar.gz
cmake-common-ce359a1ae006b588b4427ef8784224a36ada4caf.zip
project.toolset: support versioned MSVC toolsets
You can now use something like msvc-141, vs-2017, etc.
Diffstat (limited to '')
-rw-r--r--project/ci/dirs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/ci/dirs.py b/project/ci/dirs.py
index 7e3ce03..eb4651b 100644
--- a/project/ci/dirs.py
+++ b/project/ci/dirs.py
@@ -11,7 +11,7 @@ from project.boost.version import Version
from project.ci.appveyor.generator import Generator, Image
from project.configuration import Configuration
from project.platform import Platform
-from project.toolset import ToolsetHint
+from project.toolset import ToolsetVersion
from project.utils import env
@@ -47,7 +47,7 @@ class Dirs(abc.ABC):
@staticmethod
def get_toolset():
if 'TOOLSET' in os.environ:
- return ToolsetHint.parse(os.environ['TOOLSET'])
+ return ToolsetVersion.parse(os.environ['TOOLSET'])
return None
@staticmethod