Skip to content

Commit

Permalink
Force qwt to use given version of Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-b committed Nov 4, 2024
1 parent d0835f9 commit 5eab37d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/qwt/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def generate(self):
VirtualRunEnv(self).generate(scope="build")

tc = CMakeToolchain(self)
tc.variables["QWT_QT_VERSION_MAJOR"] = Version(self.dependencies["qt"].ref.version).major
tc.variables["QWT_DLL"] = self.options.shared
tc.variables["QWT_STATIC"] = not self.options.shared
tc.variables["QWT_PLOT"] = self.options.plot
Expand Down

0 comments on commit 5eab37d

Please sign in to comment.