dev-ros/amcl: really fix build with latest cmake
authorAlexis Ballier <aballier@gentoo.org>
Thu, 12 Dec 2019 08:55:42 +0000 (09:55 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 12 Dec 2019 10:42:05 +0000 (11:42 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/amcl/files/cmake.patch

index 4ae81716892511c901ee4cbec7fdd5bd47767367..da31fe79331d4edd76dcfacea35f8e2db5c1265d 100644 (file)
@@ -2,10 +2,11 @@ Index: amcl/CMakeLists.txt
 ===================================================================
 --- amcl.orig/CMakeLists.txt
 +++ amcl/CMakeLists.txt
-@@ -1,5 +1,6 @@
+@@ -1,5 +1,7 @@
  cmake_minimum_required(VERSION 3.1)
  project(amcl)
 +include(CheckSymbolExists)
++include(CheckIncludeFile)
  
  if(NOT CMAKE_CXX_STANDARD)
    set(CMAKE_CXX_STANDARD 11)