summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorkutayboz <kutayboz@gmail.com>2023-06-09 02:02:07 +0300
committerkutayboz <kutayboz@gmail.com>2023-06-09 02:02:07 +0300
commit386074fd3ffd04ae21cb914dc84969c9fd981c5e (patch)
tree4e48a10607a75c09fb253b275b3048908a686fa9 /CMakeLists.txt
parent05a602d2abd9716af6707d5b31c0e8beee707634 (diff)
downloadcelnetmon-386074fd3ffd04ae21cb914dc84969c9fd981c5e.tar.gz
Overhaul. Created bg96 lib.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 141e300..382b534 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,11 @@ target_link_libraries(gpio gpiod)
add_library(serial STATIC ./src/serial.c ./include/serial.h)
+add_library(bg96 STATIC ./src/bg96.c ./include/bg96.h)
+target_link_libraries(bg96 serial gpio)
+target_include_directories(bg96 PUBLIC ./include)
+
target_include_directories(network_monitor PUBLIC ./include)
-target_link_libraries(network_monitor gpio serial)
+target_link_libraries(network_monitor gpio serial bg96)
install(TARGETS network_monitor DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/bin/)