1 2 3 4 5 6 7
include_directories (${CMAKE_SOURCE_DIR}/libusbmuxd) link_directories (${CMAKE_BINARY_DIR}/libusbmuxd) add_executable(iproxy iproxy.c) target_link_libraries(iproxy libusbmuxd pthread) install(TARGETS iproxy RUNTIME DESTINATION bin)