diff --git a/CMakeLists.txt b/CMakeLists.txt index 36f3e23..f6a9952 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,14 +22,14 @@ list(APPEND CSOURCES src/utils.c ) -add_executable(donar-proxy ${CSOURCES} src/donar_proxy.c) +add_executable(donar ${CSOURCES} src/donar.c) find_package(PkgConfig REQUIRED) pkg_search_module(GLIB REQUIRED glib-2.0) -target_include_directories(donar-proxy PRIVATE ${GLIB_INCLUDE_DIRS}) -target_link_libraries(donar-proxy ${GLIB_LDFLAGS}) +target_include_directories(donar PRIVATE ${GLIB_INCLUDE_DIRS}) +target_link_libraries(donar ${GLIB_LDFLAGS}) -install(TARGETS donar-proxy +install(TARGETS donar RUNTIME DESTINATION bin LIBRARY DESTINATION lib) \ No newline at end of file diff --git a/src/donar_proxy.c b/src/donar.c similarity index 100% rename from src/donar_proxy.c rename to src/donar.c