Skip to content

Commit

Permalink
Use VirtualBuildEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Nov 3, 2023
1 parent 06e13d1 commit b32ddc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipes/freeglut/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.cmake import CMake, CMakeDeps, CMakeToolchain, cmake_layout
from conan.tools.env import VirtualBuildEnv
from conan.tools.files import apply_conandata_patches, collect_libs, copy, export_conandata_patches, get, rmdir
from conan.tools.gnu import PkgConfigDeps
from conan.tools.scm import Version
Expand Down Expand Up @@ -142,6 +143,8 @@ def generate(self):
cmake_deps.generate()
pkg_config_deps = PkgConfigDeps(self)
pkg_config_deps.generate()
virtual_build_env = VirtualBuildEnv(self)
virtual_build_env.generate()

def build(self):
apply_conandata_patches(self)
Expand Down

0 comments on commit b32ddc8

Please sign in to comment.