Quote generator with backslashes
{% set config_extra = "--enable-cuda" %} # [linux and cuda_compiler_version != "None"]
{% set config_extra = "--disable-cuda" %} # [not (linux and cuda_compiler_version != "None")]
-{% set generator = "Visual\ Studio\ 16\ 2019" %} # [win]
+{% set generator = "Visual Studio 16 2019" %} # [win]
{% set generator = "Ninja" %} # [not win]
{% set cmake_extra = "-A x64" %} # [win]
@@ -26,7 +26,7 @@ build:
number: 0
script: "{{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt \
-j {{ jobs }} \
- -G {{ generator }} \
+ -G \"{{ generator }}\" \
--cxx-standard=17 \
--enable-portable \
--enable-static-libs \
