Skip to content

Commit

Permalink
Add build with systemd log support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Sep 20, 2024
1 parent 3a2fce2 commit 1118d39
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ option(ENABLE_REUSEPORT "Build with REUSEPORT support" OFF)

option(ENABLE_SYSTEM_ZLIB "Build with system zlib support" OFF)
option(ENABLE_SYSTEM_OPENSSL "Build with system openssl support" OFF)
option(ENABLE_USE_SYSTEMD_LOG "Build with systemd log support" OFF)

option(ENABLE_USE_OPENSSL "Build with openssl support" ON)
option(ENABLE_USE_BORINGSSL "Build with boringssl support" OFF)
Expand Down Expand Up @@ -125,6 +126,12 @@ endif()

################################################################################

if (ENABLE_USE_SYSTEMD_LOG)
add_definitions(-DUSE_SYSTEMD_LOGGING)
endif()

################################################################################

if (WIN32)
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

Expand Down

0 comments on commit 1118d39

Please sign in to comment.