From 25166f45b67393bcf7908a539cee30825ca408a3 Mon Sep 17 00:00:00 2001 From: Henning Kayser Date: Wed, 7 Jul 2021 20:56:11 +0200 Subject: [PATCH] Set project VERSION in moveit_common, fix sonames (#532) --- moveit_common/cmake/moveit_package.cmake | 4 ++++ moveit_core/CMakeLists.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/moveit_common/cmake/moveit_package.cmake b/moveit_common/cmake/moveit_package.cmake index c8cf001e50..441a72ef1d 100644 --- a/moveit_common/cmake/moveit_package.cmake +++ b/moveit_common/cmake/moveit_package.cmake @@ -28,6 +28,10 @@ macro(moveit_package) + # Set ${PROJECT_NAME}_VERSION + find_package(ament_cmake REQUIRED) + ament_package_xml() + if(NOT "${CMAKE_CXX_STANDARD}") set(CMAKE_CXX_STANDARD 14) endif() diff --git a/moveit_core/CMakeLists.txt b/moveit_core/CMakeLists.txt index 1594462df1..c8db89ea76 100644 --- a/moveit_core/CMakeLists.txt +++ b/moveit_core/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10.2) -project(moveit_core VERSION 2.2.0 LANGUAGES CXX) +project(moveit_core LANGUAGES CXX) # Common cmake code applied to all moveit packages find_package(moveit_common REQUIRED)