include_directories(${CMAKE_SOURCE_DIR}/src ${CMAKE_BINARY_DIR}/src) add_executable(helloworld helloworld.c) target_link_libraries(helloworld uhttpd ${LIBUBOX_LIBRARY})