Skip to content

Commit

Permalink
Remove new line character at the end of SHAPESVERSION cmake variable (
Browse files Browse the repository at this point in the history
#169)

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
  • Loading branch information
Mario-DL authored Jul 31, 2024
1 parent 13f579e commit ffefb63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ cmake_minimum_required(VERSION 3.20)

file(READ version.pri SHAPESVERSION)

# Remove EOF new line character
string(REPLACE "\n" "" SHAPESVERSION ${SHAPESVERSION})

set(IS_TOP_LEVEL TRUE)
if(PROJECT_SOURCE_DIR)
Expand All @@ -44,7 +46,7 @@ project("ShapesDemo")
set(PROJECT_NAME_STYLED "ShapesDemo")
set(PROJECT_NAME_LARGE "Shapes Demo")
string(TOUPPER "${PROJECT_NAME}" PROJECT_NAME_UPPER)
set(${PROJECT_NAME}_DESCRIPTION_SUMMARY "Shapes Demo for eProsima Fast RTPS")
set(${PROJECT_NAME}_DESCRIPTION_SUMMARY "Shapes Demo for eProsima Fast DDS")
set(${PROJECT_NAME}_DESCRIPTION "eProsima ${PROJECT_NAME_LARGE} library provides publication/subscription communication using RTPS protocol.")

message(STATUS "Configuring ${PROJECT_NAME_LAGE}")
Expand Down

0 comments on commit ffefb63

Please sign in to comment.