From 0c972bd022229b3d91be6a95f55763120fd04821 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Mon, 11 May 2020 13:55:13 -0700 Subject: [PATCH] Fix cmake warning about newlines Signed-off-by: Steve Peters --- Changelog.md | 3 +++ include/sdf/CMakeLists.txt | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 25d046c26..dac8cd162 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,9 @@ ### libsdformat 10.0.0 (202X-XX-XX) +1. Don't install deprecated parser_urdf.hh header file, fix cmake warning about newline file, fix cmake warning about newlines. + * [Pull request 276](https://github.com/osrf/sdformat/pull/276) + 1. Changed the default radius of a Cylinder from 1.0 to 0.5 meters. * [BitBucket pull request 643](https://osrf-migration.github.io/sdformat-gh-pages/#!/osrf/sdformat/pull-requests/643) diff --git a/include/sdf/CMakeLists.txt b/include/sdf/CMakeLists.txt index 19e849c36..ed0930a5a 100644 --- a/include/sdf/CMakeLists.txt +++ b/include/sdf/CMakeLists.txt @@ -49,8 +49,7 @@ set (headers set (sdf_headers "" CACHE INTERNAL "SDF headers" FORCE) foreach (hdr ${headers}) - APPEND_TO_CACHED_STRING(sdf_headers - "SDF Headers" "#include \n") + set(sdf_headers "${sdf_headers}#include \n") endforeach() configure_file (${CMAKE_CURRENT_SOURCE_DIR}/sdf.hh.in ${CMAKE_CURRENT_BINARY_DIR}/sdf.hh)