Merge pull request #8996 from neheb/ft
libftdi: Fix compilation with most recent CMake
This commit is contained in:
commit
cdbde98aca
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libftdi
|
PKG_NAME:=libftdi
|
||||||
PKG_VERSION:=0.20
|
PKG_VERSION:=0.20
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
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/
|
||||||
|
@ -39,6 +39,8 @@ define Package/libftdi/description
|
||||||
The library is linked with your program in userspace, no kernel driver required.
|
The library is linked with your program in userspace, no kernel driver required.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CMAKE_OPTIONS += -DBoost_NO_BOOST_CMAKE=ON
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/
|
$(INSTALL_DIR) $(1)/usr/include/
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/ftdi.h $(1)/usr/include/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/ftdi.h $(1)/usr/include/
|
||||||
|
|
Loading…
Reference in a new issue