Skip to content
Snippets Groups Projects
Commit b22c993b authored by Fabian Reister's avatar Fabian Reister
Browse files

modernized cmake

parent d15ff332
No related branches found
No related tags found
No related merge requests found
......@@ -19,24 +19,18 @@ armarx_enable_modern_cmake_project()
armarx_project(navigation NAMESPACE armarx)
# Specify each ArmarX Package dependency with the following macro
armarx_depends_on(
ArmarXGui
"OPTIONAL"
)
armarx_depends_on(RobotAPI)
armarx_depends_on(ARMARX ArmarXGui OPTIONAL)
armarx_depends_on(ARMARX RobotAPI)
add_subdirectory(etc)
add_subdirectory(external)
# Required dependencies
find_package(Ceres REQUIRED)
armarx_depends_on(SYSTEM Ceres REQUIRED)
# Optional dependencies
#include(FetchContent)
#FetchContent_Declare(
......@@ -55,7 +49,6 @@ find_package(Ceres REQUIRED)
# FetchContent_MakeAvailable(inotify_cpp)
add_subdirectory(source)
install_project()
armarx_install_project()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment