Import xc3sprog ebuild

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2021-09-25 00:09:27 +02:00
parent 4be89bfbab
commit 386aba06c3
3 changed files with 60 additions and 0 deletions

View 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)