@@ -35,10 +35,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
3535# turn off libfranka tests
3636set (BUILD_TESTS OFF )
3737set (BUILD_EXAMPLES OFF )
38- set (RL_BUILD_DEMOS OFF )
39- set (RL_BUILD_RL_SG OFF )
40- set (RL_BUILD_TESTS OFF )
41- set (RL_BUILD_EXTRAS OFF )
4238set (BUILD_PYTHON_INTERFACE OFF )
4339set (BUILD_DOCUMENTATION OFF )
4440
@@ -67,8 +63,43 @@ FetchContent_Declare(Eigen3
6763 GIT_PROGRESS TRUE
6864 EXCLUDE_FROM_ALL
6965)
66+ # --- tinyxml2 ---
67+ FetchContent_Declare (
68+ tinyxml2
69+ GIT_REPOSITORY https://github.com/leethomason/tinyxml2.git
70+ GIT_TAG 10.0.0 # Or the specific version you need
71+ GIT_PROGRESS TRUE
72+ EXCLUDE_FROM_ALL
73+ )
74+
75+ # --- console_bridge ---
76+ FetchContent_Declare (
77+ console_bridge
78+ GIT_REPOSITORY https://github.com/ros/console_bridge.git
79+ GIT_TAG 1.0.2 # Standard version used in ROS 2 Humble
80+ GIT_PROGRESS TRUE
81+ EXCLUDE_FROM_ALL
82+ )
83+
84+ # --- POCO C++ Libraries ---
85+ # POCO is a massive framework. Building the whole thing takes a long time.
86+ # We disable tests, examples, and heavy components you likely don't need for a robot control stack.
87+ set (ENABLE_TESTS OFF CACHE BOOL "Disable POCO tests" FORCE )
88+ set (ENABLE_DATA_MYSQL OFF CACHE BOOL "Disable POCO MySQL" FORCE )
89+ set (ENABLE_DATA_ODBC OFF CACHE BOOL "Disable POCO ODBC" FORCE )
90+ set (ENABLE_PAGECOMPILER OFF CACHE BOOL "Disable POCO PageCompiler" FORCE )
91+ set (ENABLE_PAGECOMPILER_FILE2PAGE OFF CACHE BOOL "" FORCE )
92+
93+ FetchContent_Declare (
94+ poco
95+ GIT_REPOSITORY https://github.com/pocoproject/poco.git
96+ GIT_TAG poco-1.13.3-release
97+ GIT_PROGRESS TRUE
98+ EXCLUDE_FROM_ALL
99+ )
70100
71- FetchContent_MakeAvailable (libfranka pybind11 Eigen3)
101+ FetchContent_MakeAvailable (pybind11 Eigen3 tinyxml2 console_bridge poco)
102+ FetchContent_MakeAvailable (libfranka)
72103set_target_properties (franka PROPERTIES CXX_STANDARD 17 )
73104
74105add_subdirectory (src_fr3 )
0 commit comments