From f535396cd9f7559ad95599f888676996cc9f32d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Wed, 11 Nov 2015 19:25:22 +0100 Subject: [PATCH] libftdi: fix cmake build issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- libs/libftdi/Makefile | 2 +- .../patches/102-fix-cmake-include-examples.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/libftdi/patches/102-fix-cmake-include-examples.patch diff --git a/libs/libftdi/Makefile b/libs/libftdi/Makefile index 058fd5085a..6f6235c43e 100644 --- a/libs/libftdi/Makefile +++ b/libs/libftdi/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libftdi PKG_VERSION:=0.20 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/ diff --git a/libs/libftdi/patches/102-fix-cmake-include-examples.patch b/libs/libftdi/patches/102-fix-cmake-include-examples.patch new file mode 100644 index 0000000000..b37a968063 --- /dev/null +++ b/libs/libftdi/patches/102-fix-cmake-include-examples.patch @@ -0,0 +1,11 @@ +--- a/examples/CMakeLists.txt ++++ b/examples/CMakeLists.txt +@@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" + + if (EXAMPLES) + # Includes +- include( ${CMAKE_CURRENT_SOURCE_DIR} ++ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ) +