0450e26b982954b0903d716cca6ac239b1e3dd1e
[libam7xxx.git] / examples / CMakeLists.txt
1 add_definitions("-D_POSIX_C_SOURCE=2") # for getopt()
2
3 include_directories(${CMAKE_SOURCE_DIR}/src/)
4
5 # Build a test app that sends a single picture
6 add_executable(picoproj picoproj.c)
7 target_link_libraries(picoproj am7xxx)
8 install(TARGETS picoproj
9   DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")