Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export external dependencies in FCL_LIBRARIES
The find_package CMake macro was missing the CCD and Octomap libraries in the FCL_LIBRARIES variable, which led to linker errors in dependent projects, for example: moveit/moveit#2804 (comment) The old PkgConfig implementation properly adds all external dependencies, but the find_package implementation is missing some: find_package: FCL_LIBRARIES=fcl PkgConfig: FCL_LIBRARIES=/opt/ros/noetic/lib/x86_64-linux-gnu/libfcl.so;/usr/lib/x86_64-linux-gnu/libccd.so;/usr/lib/x86_64-linux-gnu/libm.so;/opt/ros/noetic/lib/liboctomap.so;/opt/ros/noetic/lib/liboctomath.so This commit will result in the following FCL_LIBRARIES: FCL_LIBRARIES=fcl;/usr/lib/x86_64-linux-gnu/libccd.so;/usr/lib/x86_64-linux-gnu/libm.so;/opt/ros/noetic/lib/liboctomap.so;/opt/ros/noetic/lib/liboctomath.so
- Loading branch information