1
0
mirror of https://github.com/falk-werner/webfused synced 2026-03-02 04:09:19 +00:00

separated main

This commit is contained in:
Falk Werner
2020-03-08 11:44:17 +01:00
parent d8e1fcd426
commit d304c843bc
4 changed files with 29 additions and 3 deletions

View File

@@ -48,12 +48,15 @@ target_include_directories(userdb PUBLIC
target_compile_options(userdb PUBLIC ${OPENSSL_CFLAGS_OTHER})
add_library(webfused-static STATIC
src/webfused/daemon.c)
add_executable(webfused
src/daemon/main.c
src/webfused/main.c
)
target_link_libraries(webfused PUBLIC
target_link_libraries(webfused PUBLIC
webfused-static
userdb
${LIBCONFIG_LIBRARIES}
${OPENSSL_LIBRARIES}