aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/cmake
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-20 18:08:30 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-20 18:08:30 +0300
commitfb12e2d2bba3d74d42108795bb682f1271f802c3 (patch)
treea3243564e1043a07228983aa93785ff828171176 /project/cmake
parentworkflows: fail-fast (diff)
downloadcmake-common-fb12e2d2bba3d74d42108795bb682f1271f802c3.tar.gz
cmake-common-fb12e2d2bba3d74d42108795bb682f1271f802c3.zip
project: minor refactoring
Diffstat (limited to 'project/cmake')
-rw-r--r--project/cmake/toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/cmake/toolchain.py b/project/cmake/toolchain.py
index 0e68738..22f99df 100644
--- a/project/cmake/toolchain.py
+++ b/project/cmake/toolchain.py
@@ -69,7 +69,7 @@ class MSVC(Auto):
def get_cmake_args(self):
# This doesn't actually specify the generator of course, but I don't
# want to implement VS detection logic.
- return self.platform.cmake_msvc_args()
+ return ['-A', self.platform.msvc_arch()]
def get_build_args(self):
return ['/m']