mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
libftdi: fix cmake build issues
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
11
libs/libftdi/patches/102-fix-cmake-include-examples.patch
Normal file
11
libs/libftdi/patches/102-fix-cmake-include-examples.patch
Normal file
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user