Skip to content

Commit

Permalink
better path handling
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Sep 23, 2024
1 parent 981e63d commit c51d394
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ def generate(self):
tc.variables["MV_UNITY_BUILD"] = "ON"

# Install vcpkg dependencies
vcpkg_dir = os.environ["VCPKG_ROOT"]
vcpkg_exe = os.path.join(vcpkg_dir, "vcpkg.exe") if self.settings.os == "Windows" else os.path.join(vcpkg_dir, "vcpkg")
vcpkg_tc = os.path.join(vcpkg_dir, "scripts", "buildsystems", "vcpkg.cmake")
vcpkg_dir = pathlib.Path(os.environ["VCPKG_ROOT"]).as_posix()
vcpkg_exe = vcpkg_dir / "vcpkg.exe" if self.settings.os == "Windows" else vcpkg_dir / "vcpkg"
vcpkg_tc = vcpkg_dir / "scripts" / "buildsystems" / "vcpkg.cmake"

vcpkg_triplet = "x64-windows"
if self.settings.os == "Macos":
Expand Down

0 comments on commit c51d394

Please sign in to comment.