1 add_definitions("-D_POSIX_C_SOURCE=2") # for getopt()
3 include_directories(${CMAKE_SOURCE_DIR}/src/)
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")