Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcl: add missing transitive_headers=True, CMP0077 #25381

Merged
merged 6 commits into from
Oct 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions recipes/fcl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,13 @@ def layout(self):
cmake_layout(self, src_folder="src")

def requirements(self):
self.requires("eigen/3.4.0")
self.requires("libccd/2.1")
# Used in fcl/common/types.h public header
self.requires("eigen/3.4.0", transitive_headers=True, transitive_libs=True)
# Used in fcl/narrowphase/detail/convexity_based_algorithm/support.h
self.requires("libccd/2.1", transitive_headers=True, transitive_libs=True)
AbrilRBS marked this conversation as resolved.
Show resolved Hide resolved
if self.options.with_octomap:
self.requires("octomap/1.9.7")
# Used in fcl/geometry/octree/octree.h
self.requires("octomap/1.9.7", transitive_headers=True, transitive_libs=True)
valgur marked this conversation as resolved.
Show resolved Hide resolved

def validate(self):
if self.settings.compiler.get_safe("cppstd"):
Expand Down Expand Up @@ -82,6 +85,7 @@ def generate(self):
tc.variables["OCTOMAP_PATCH_VERSION"] = octomap_version.patch
tc.variables["BUILD_TESTING"] = False
tc.variables["FCL_NO_DEFAULT_RPATH"] = False
tc.cache_variables["CMAKE_POLICY_DEFAULT_CMP0077"] = "NEW"
valgur marked this conversation as resolved.
Show resolved Hide resolved
jcar87 marked this conversation as resolved.
Show resolved Hide resolved
tc.generate()

cd = CMakeDeps(self)
Expand Down
Loading