Change ftdi_open_bus_port to ftdi_open_bus_addr, since libusb_get_port_number is...
[libftdi] / examples / cmake_example / CMakeLists.txt
CommitLineData
39042f17
MZ
1cmake_minimum_required ( VERSION 2.8 )
2
3project ( example C )
4
c729b243 5find_package ( LibFTDI1 NO_MODULE REQUIRED )
39042f17
MZ
6include ( ${LIBFTDI_USE_FILE} )
7
8add_executable ( example main.c )
9target_link_libraries( example ${LIBFTDI_LIBRARIES} )
10
11install ( TARGETS example
12 DESTINATION bin )
c729b243 13