diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2015-11-11 19:25:22 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2015-11-11 19:26:43 +0100 |
commit | f535396cd9f7559ad95599f888676996cc9f32d0 (patch) | |
tree | 57cbce3e8c627ebffbd0784c5a107a89e63e4672 /libs/libftdi/patches | |
parent | e614238711498729b2303a038848fa556173a263 (diff) |
libftdi: fix cmake build issues
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'libs/libftdi/patches')
-rw-r--r-- | libs/libftdi/patches/102-fix-cmake-include-examples.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/libftdi/patches/102-fix-cmake-include-examples.patch b/libs/libftdi/patches/102-fix-cmake-include-examples.patch new file mode 100644 index 000000000..b37a96806 --- /dev/null +++ b/libs/libftdi/patches/102-fix-cmake-include-examples.patch @@ -0,0 +1,11 @@ +--- a/examples/CMakeLists.txt ++++ b/examples/CMakeLists.txt +@@ -2,7 +2,7 @@ option(EXAMPLES "Build example programs" + + if (EXAMPLES) + # Includes +- include( ${CMAKE_CURRENT_SOURCE_DIR} ++ include_directories( ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ) + |