Working server part + rename binary
This commit is contained in:
parent
9ea76e9144
commit
3bfafabd44
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
Loading…
Reference in a new issue