Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-b committed Nov 27, 2023
1 parent f402d76 commit 619ee29
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions recipes/qwt/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 619ee29

Please sign in to comment.