Skip to content

Commit

Permalink
CMake: fix for hpp-fcl/coal v3
Browse files Browse the repository at this point in the history
Fix, at least on ROS buildfarm:
```
-- hpp-fcl FOUND. hpp-fcl at /opt/ros/rolling/lib/x86_64-linux-gnu/libhpp-fcl.so
-- Found Boost: /usr/include (found version "1.83.0") found components: chrono serialization filesystem
CMake Error at /opt/ros/rolling/lib/x86_64-linux-gnu/cmake/hpp-fcl/hpp-fclConfig.cmake:181 (message):
  hpp-fcl: hpp-fcl >= 2.1.2 not found.
Call Stack (most recent call first):
  cmake/package-config.cmake:133 (find_package)
  CMakeLists.txt:341 (add_project_dependency)
```
  • Loading branch information
nim65s authored and jcarpent committed Mar 5, 2025
1 parent a369af1 commit 02c8d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ else()
endif()

if(BUILD_WITH_HPP_FCL_SUPPORT)
add_project_dependency(hpp-fcl 2.1.2 REQUIRED "hpp-fcl >= 2.1.2")
add_project_dependency(hpp-fcl REQUIRED)
endif()

if(BUILD_WITH_ACCELERATE_SUPPORT)
Expand Down

0 comments on commit 02c8d1d

Please sign in to comment.