libuhttpd/example/CMakeLists.txt

5 lines
211 B
CMake

include_directories(${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/buffer ${CMAKE_BINARY_DIR}/src ${LIBEV_INCLUDE_DIR})
add_executable(example example.c)
target_link_libraries(example uhttpd ${LIBEV_LIBRARY})