This commit is contained in:
Andrew Cassidy 2022-05-16 23:18:54 -07:00
parent 4b3e236275
commit 7ba2225644

View File

@ -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"})