Working server part + rename binary

This commit is contained in:
Quentin 2019-02-12 19:40:12 +01:00
parent 9ea76e9144
commit 3bfafabd44
2 changed files with 4 additions and 4 deletions

View file

@ -22,14 +22,14 @@ list(APPEND CSOURCES
src/utils.c src/utils.c
) )
add_executable(donar-proxy ${CSOURCES} src/donar_proxy.c) add_executable(donar ${CSOURCES} src/donar.c)
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_search_module(GLIB REQUIRED glib-2.0) pkg_search_module(GLIB REQUIRED glib-2.0)
target_include_directories(donar-proxy PRIVATE ${GLIB_INCLUDE_DIRS}) target_include_directories(donar PRIVATE ${GLIB_INCLUDE_DIRS})
target_link_libraries(donar-proxy ${GLIB_LDFLAGS}) target_link_libraries(donar ${GLIB_LDFLAGS})
install(TARGETS donar-proxy install(TARGETS donar
RUNTIME DESTINATION bin RUNTIME DESTINATION bin
LIBRARY DESTINATION lib) LIBRARY DESTINATION lib)