-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
kind: requestType of issueType of issuemodule: cmakeskill: cmakeSkills/areas of expertise needed to tackle the issueSkills/areas of expertise needed to tackle the issue
Description
PCL currently provides imported targets without namespacing (e.g., pcl_common, pcl_io, pcl_visualization), rather than using PackageName::Component naming conventions (e.g., PCL::common, PCL::io, PCL::visualization), which is commonly seen in many packages (Eigen3, Boost, VTK...)
If so, we can write:
find_package(PCL REQUIRED COMPONENTS io common)
target_link_libraries(foo PCL::io PCL::common)or we can even have a target PCL::PCL to include all imported targets.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind: requestType of issueType of issuemodule: cmakeskill: cmakeSkills/areas of expertise needed to tackle the issueSkills/areas of expertise needed to tackle the issue