add lightning module

This commit is contained in:
2026-05-05 17:57:42 +03:00
parent 2413661e19
commit c5b9d43797
9 changed files with 234 additions and 95 deletions

View File

@@ -58,4 +58,9 @@ if(SNMP)
list(APPEND LIBS snmp)
endif()
if(LIGHTNING)
add_library(lightning SHARED lightning.c)
list(APPEND LIBS lightning)
endif()
install(TARGETS ${LIBS} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})