Skip to content

Commit

Permalink
build BUGFIX properly add serverobj objects
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 10, 2024
1 parent 13f04fb commit a2009a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(LIB_SRC

if(NETOPEER2_LIB STREQUAL "server")
# build server main function as a library function
set(LIB_SRC ${LIB_SRC} ${serverobj} ${PROJECT_SOURCE_DIR}/../src/main.c ${compatsrc})
set(LIB_SRC ${LIB_SRC} $<TARGET_OBJECTS:serverobj> ${PROJECT_SOURCE_DIR}/../src/main.c ${compatsrc})
add_definitions(-Dmain=np2_server)
set(NETOPEER2_SERVER_FUNC "\
/**
Expand Down

0 comments on commit a2009a9

Please sign in to comment.