Skip to content

Commit

Permalink
dev-ros/amcl: fix build with latest cmake
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Dec 11, 2019
1 parent 9782e86 commit b067fb0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-ros/amcl/amcl-1.16.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ RDEPEND="
DEPEND="${RDEPEND}
test? ( dev-ros/rostest[${PYTHON_USEDEP}] dev-python/python_orocos_kdl[${PYTHON_USEDEP}] dev-ros/map_server[${PYTHON_USEDEP}] )
"
PATCHES=( "${FILESDIR}/cmake.patch" )
11 changes: 11 additions & 0 deletions dev-ros/amcl/files/cmake.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Index: amcl/CMakeLists.txt
===================================================================
--- amcl.orig/CMakeLists.txt
+++ amcl/CMakeLists.txt
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.1)
project(amcl)
+include(CheckSymbolExists)

if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 11)

0 comments on commit b067fb0

Please sign in to comment.