ports/devel/libftdi1/files/patch-examples__CMakeLists.txt
Kurt Jaeger 8f510cdc6d New port: devel/libftdi1
Talking to FTDI's FT2232C, FT232BM and FT245BM type chips including
the popular bitbang mode, using libusb.

WWW: http://www.intra2net.com/en/developer/libftdi/

Please note that this is an updated version of devel/libftdi,
but dependencies require both versions to be available for a while.

PR:		191656
Submitted by:	uffe@uffe.org
2014-08-03 21:35:42 +00:00

13 lines
594 B
Text

--- examples/CMakeLists.txt.orig 2014-08-03 23:07:13.000000000 +0200
+++ examples/CMakeLists.txt 2014-08-03 23:08:06.000000000 +0200
@@ -36,8 +36,8 @@
if(FTDI_BUILD_CPP)
if(Boost_FOUND)
message(STATUS "Building libftdi++ examples.")
- include_directories(BEFORE ${CMAKE_SOURCE_DIR}/ftdipp
- ${Boost_INCLUDE_DIRS})
+ include_directories(BEFORE ${CMAKE_SOURCE_DIR}/ftdipp)
+ include_directories(AFTER ${Boost_INCLUDE_DIRS})
# Target
add_executable(find_all_pp find_all_pp.cpp)