To use other ArmarX Packages in your own package you need to add the following call to your top-level CMakeLists.txt file:
depends_on_armarx_package(<PackageName>)
This will do the following things:
- use find_package(<PackageName>) to retrieve the location of the package (a location hint can be specified with -D<PackageName>_DIR=/path/... on the CMake commandline)
- call include_directories(<PackageName>_INCLUDE_DIRS)
- setup internal information required for generating scenarios
- provide CMake variables such as <PackageName>_FOUND and <PackageName>_LIBRARIES for use in your CMakeLists.txt files