diff --git a/setup.py b/setup.py index 5dc0199..5bf8686 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ class CMakeBuild(build_ext): else: if 'CC' in os.environ and 'clang-cl' in os.environ['CC']: - cmake_args += ['ClangCL'] # https://stackoverflow.com/a/64189112/7645957 + cmake_args += ["-T", 'ClangCL'] # https://stackoverflow.com/a/64189112/7645957 # Single config generators are handled "normally" single_config = any(x in cmake_generator for x in {"NMake", "Ninja"})