14 lines
364 B
Diff
14 lines
364 B
Diff
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)
|