Import xc3sprog ebuild
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
13
dev-embedded/xc3sprog/files/xc3sprog-9999-libftdi.patch
Normal file
13
dev-embedded/xc3sprog/files/xc3sprog-9999-libftdi.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 96e410d..2099f16 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -18,7 +18,7 @@ endif(${WIN32})
|
||||
|
||||
option(USE_FTD2XX "Use FTDI libFTD2XX instead of free libftdi" ON)
|
||||
|
||||
-find_package(libftdi)
|
||||
+find_package(libftdi REQUIRED NAMES LibFTDI LibFTDI1)
|
||||
include_directories(${LIBFTDI_INCLUDE_DIR})
|
||||
|
||||
if(USE_FTD2XX)
|
||||
Reference in New Issue
Block a user