Merge pull request #8996 from neheb/ft

libftdi: Fix compilation with most recent CMake
This commit is contained in:
Rosen Penev 2019-05-16 13:35:57 -07:00 committed by GitHub
commit cdbde98aca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libftdi
PKG_VERSION:=0.20
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
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.
endef
CMAKE_OPTIONS += -DBoost_NO_BOOST_CMAKE=ON
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/ftdi.h $(1)/usr/include/