From 619ee2997bcb53cfd9f48a641c6d4679a22aa811 Mon Sep 17 00:00:00 2001 From: Ashley Brighthope Date: Mon, 27 Nov 2023 22:39:57 +1100 Subject: [PATCH] WIP --- recipes/qwt/all/conanfile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes/qwt/all/conanfile.py b/recipes/qwt/all/conanfile.py index 8252c7c68fec80..17dd5b7f4ad685 100644 --- a/recipes/qwt/all/conanfile.py +++ b/recipes/qwt/all/conanfile.py @@ -92,12 +92,11 @@ def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) def generate(self): + env = VirtualBuildEnv(self) + env.generate() if self._is_legacy_one_profile: env = VirtualRunEnv(self) env.generate(scope="build") - else: - env = VirtualBuildEnv(self) - env.generate() tc = CMakeToolchain(self) tc.variables["QWT_DLL"] = self.options.shared