Browse Source

Merge pull request #8996 from neheb/ft

libftdi: Fix compilation with most recent CMake
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
cdbde98aca
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libs/libftdi/Makefile

+ 3
- 1
libs/libftdi/Makefile 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/


Loading…
Cancel
Save