Hi,

Here is a patch in order to build libftdi from trunk on FreeBSD

On FreeBSD you can open the directory as any file - what cmake reads here is raw direntry structures and not the files contained in the directory - linux seems to be more forgiving about this one - but no matter what - it is an error in the CMakeLists.txt file.

I hope you'll accept the patch

Kind regards

/Uffe



--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 6793d89..1263c62 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" ON)
 
 if (EXAMPLES)
     # Includes
-    include( ${CMAKE_CURRENT_SOURCE_DIR}
+    include_directories( ${CMAKE_CURRENT_SOURCE_DIR}
             ${CMAKE_CURRENT_BINARY_DIR}
             )
 

Reply via email to