Skip to content

Commit

Permalink
Update conanfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ericLemanissier authored Oct 5, 2023
1 parent fb48afe commit 75617e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/qt/6.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def generate(self):
vre.generate(scope="build")
# TODO: to remove when properly handled by conan (see https://github.com/conan-io/conan/issues/11962)
env = Environment()
env.unset("VCPKG_ROOT")
env.prepend_path("PKG_CONFIG_PATH", self.generators_folder)
env.vars(self).save_script("conanbuildenv_pkg_config_path")
if self._settings_build.os == "Macos":
Expand Down Expand Up @@ -575,8 +576,7 @@ def generate(self):
if Version(self.version) >= "6.5.0":
cpp_std_map["23"] = "FEATURE_cxx2b"

tc.variables[cpp_std_map.get(current_cpp_std, "FEATURE_cxx17")] = "ON"
tc.cache_variables["QT_USE_VCPKG"] = False
tc.variables[cpp_std_map.get(current_cpp_std, "FEATURE_cxx17")] = "ON"

tc.generate()

Expand Down

0 comments on commit 75617e3

Please sign in to comment.