From 4987a3f58c0291306cadb6eb966f96d565288e6e Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Tue, 7 Jun 2022 18:28:01 +0200 Subject: [PATCH] Work around for Windows needing quotes and other OS not Seems to be a bug in Conan will create a bug report later this week. Contributes to CURA-9365 --- profiles/cura.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/cura.jinja b/profiles/cura.jinja index 174a54a..9df08cb 100644 --- a/profiles/cura.jinja +++ b/profiles/cura.jinja @@ -15,5 +15,5 @@ compiler.cppstd=17 [conf] tools.cmake.cmaketoolchain:find_package_prefer_config=True -{% if os_build == "Windows" %}tools.env.virtualenv:powershell=True{% endif %} +{% if os_build != "Windows" %}{% else %}tools.env.virtualenv:powershell=True{% endif %} {% if compiler == "Visual Studio" %}tools.microsoft.msbuild:vs_version=compiler.version{% endif %}