diff --git a/recipes/qwt/all/conanfile.py b/recipes/qwt/all/conanfile.py index e8a240189ee17b..5a6b76d4f15011 100644 --- a/recipes/qwt/all/conanfile.py +++ b/recipes/qwt/all/conanfile.py @@ -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