1212# details. You should have received a copy of the GNU Lesser General Public
1313# License along with hpp_tutorial If not, see <http://www.gnu.org/licenses/>.
1414
15- cmake_minimum_required (VERSION 3.10 )
15+ cmake_minimum_required (VERSION 3.22 )
1616
1717set (PROJECT_NAME hpp_tutorial)
1818set (PROJECT_DESCRIPTION "Tutorial for humanoid path planner platform." )
@@ -32,14 +32,6 @@ else()
3232 TARGET jrl-cmakemodules::jrl-cmakemodules
3333 PROPERTY INTERFACE_INCLUDE_DIRECTORIES )
3434 message (STATUS "JRL cmakemodules found on system at ${JRL_CMAKE_MODULES} " )
35- elseif (${CMAKE_VERSION} VERSION_LESS "3.14.0" )
36- message (
37- FATAL_ERROR
38- "\n Can't find jrl-cmakemodules. Please either:\n "
39- " - use git submodule: 'git submodule update --init'\n "
40- " - or install https://github.com/jrl-umi3218/jrl-cmakemodules\n "
41- " - or upgrade your CMake version to >= 3.14 to allow automatic fetching\n "
42- )
4335 else ()
4436 message (STATUS "JRL cmakemodules not found. Let's fetch it." )
4537 include (FetchContent)
@@ -70,7 +62,6 @@ add_subdirectory(src)
7062set (CATKIN_PACKAGE_SHARE_DESTINATION
7163 ${CMAKE_INSTALL_DATAROOTDIR} /${PROJECT_NAME} )
7264
73- install (FILES package.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} )
7465install (
7566 FILES urdf/box.urdf
7667 urdf/cup.urdf
@@ -132,5 +123,3 @@ install(
132123 TARGETS ${PROJECT_NAME}
133124 EXPORT ${TARGETS_EXPORT_NAME}
134125 DESTINATION lib)
135-
136- install (FILES package.xml DESTINATION share/${PROJECT_NAME} )
0 commit comments