Skip to content

Commit 73b9d96

Browse files
authored
Update conanfile.py
1 parent c9fa4d1 commit 73b9d96

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

conanfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ def generate(self):
9999
# Use the ManiVault .cmake file to find ManiVault with find_package
100100
mv_core_root = self.deps_cpp_info["hdps-core"].rootpath
101101
manivault_dir = pathlib.Path(mv_core_root, "cmake", "mv").as_posix()
102-
self.install_dir = pathlib.Path(os.environ["MV_INSTALL_DIR"]).as_posix()
103102

104103
print("ManiVault_DIR: ", manivault_dir)
105104
tc.variables["ManiVault_DIR"] = manivault_dir
@@ -150,6 +149,8 @@ def package(self):
150149
]
151150
)
152151

152+
self.install_dir = pathlib.Path(os.environ["MV_INSTALL_DIR"]).as_posix()
153+
153154
# Add the pdb files next to the libs for RelWithDebInfo linking
154155
if tools.os_info.is_windows:
155156
pdb_dest = pathlib.Path(self.install_dir, "RelWithDebInfo/lib")

0 commit comments

Comments
 (0)