git://developer.intra2net.com
/
libftdi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
acd3880dd2b1d267786b86ccfd19c2d16f482a0a
[libftdi]
/
examples
/
cmake_example
/
CMakeLists.txt
1
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
2
3
project(example C)
4
5
find_package(LibFTDI1 NO_MODULE REQUIRED)
6
include(${LIBFTDI_USE_FILE})
7
8
add_executable(example main.c)
9
target_link_libraries(example ${LIBFTDI_LIBRARIES})
10
11
install(TARGETS example
12
DESTINATION bin
13
)