include_directories("${CMAKE_SOURCE_DIR}/include") add_executable(example main.c) target_link_libraries(example discord)