Skip to content

Commit

Permalink
fix: use static version of boost for now
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Nov 23, 2023
1 parent 5845323 commit e59875a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Lanelet2Conan(ConanFile):
default_options = {
"shared": False,
"fPIC": True,
"boost/*:shared": True,
# "boost/*:shared": True,
"boost/*:without_python": False,
}
without_boost_components = [
Expand Down Expand Up @@ -93,9 +93,9 @@ def generate(self):
deps.generate()

for dep in self.dependencies.values():
copy(self, "*.dylib", dep.cpp_info.libdirs[0], str(self.source_path / "lib"))
# copy(self, "*.so*", dep.cpp_info.libdirs[0], self.build_folder)
# copy(self, "*.dll", dep.cpp_info.bindirs[0], self.build_folder)
copy(self, "*.dylib*", dep.cpp_info.libdirs[0], str(self.source_path / "lib"))
copy(self, "*.so*", dep.cpp_info.libdirs[0], str(self.source_path / "lib"))
copy(self, "*.dll", dep.cpp_info.bindirs[0], str(self.source_path / "bin"))

tc = CMakeToolchain(self)
tc.generate()
Expand Down

0 comments on commit e59875a

Please sign in to comment.