Add systemd notify

This commit is contained in:
Konstantin Lampalzer 2022-10-05 23:43:37 +02:00
parent 077937f5c6
commit 7a9c4e9f3a
3 changed files with 11 additions and 1 deletions

View file

@ -19,7 +19,7 @@ if (UNIX AND ${CMAKE_SYSTEM_PROCESSOR} STREQUAL armv7l)
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
find_package(pigpio REQUIRED)
set(LIBRARIES "pigpio" "spdlog::spdlog")
set(LIBRARIES "pigpio" "spdlog::spdlog" "systemd")
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-psabi")
set(IS_RASPI true)