Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created March 18, 2020 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awesomebytes/8069774e1c7c6bcb3ced5fea58f72992 to your computer and use it in GitHub Desktop.
Save awesomebytes/8069774e1c7c6bcb3ced5fea58f72992 to your computer and use it in GitHub Desktop.
From 105c61d48bfff65d3598e15bb5a812777e54c70a Mon Sep 17 00:00:00 2001
From: Sammy Pfeiffer <sammypfeiffer@gmail.com>
Date: Wed, 18 Mar 2020 22:39:05 +1100
Subject: [PATCH] Fix Unknown CMake command check_include_file (navfn &
base_local_planner)
---
navfn/CMakeLists.txt | 2 ++
1 files changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 98899c7f9..414362a83 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 2.8.3)
project(navfn)
+include(CheckIncludeFile)
+
find_package(catkin REQUIRED
COMPONENTS
cmake_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment