From d5731ba18f845f1261ad197fb3b59ceb6b55226e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu>
Date: Tue, 6 Sep 2011 09:53:36 +0000
Subject: [PATCH] Minor change in the CMakeLists.txt file. The name of the
 library was not properly set and the search for it in the system always
 failed, wich lead to installation errors

---
 src/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cfdbfe9..7be414a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,7 +4,7 @@ SET(ftdi_local_dir ${CMAKE_SOURCE_DIR}/tools/libftd2)
 FIND_PATH(FTDI_INCLUDE_DIR ${ftdi_headers} /usr/include/ /usr/local/include/)
 
 FIND_LIBRARY(FTDI_LIBRARY
-    NAMES ${ftd2xx}
+    NAMES ${ftdi_libs}
     PATHS /usr/lib /usr/local/lib)
 
 IF(FTDI_INCLUDE_DIR AND FTDI_LIBRARY)
-- 
GitLab