mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libftdi: fix cmake build issues
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libftdi
|
PKG_NAME:=libftdi
|
||||||
PKG_VERSION:=0.20
|
PKG_VERSION:=0.20
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/
|
PKG_SOURCE_URL:=http://www.intra2net.com/en/developer/libftdi/download/
|
||||||
|
|||||||
@@ -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}
|
||||||
|
)
|
||||||
|
|
||||||
Reference in New Issue
Block a user