Skip to content

Commit

Permalink
CMakeLists.txt: Correct typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdeep1 committed Oct 19, 2023
1 parent 26302a0 commit bb1a635
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ set(MAX_LOGGING_LEVEL
Only build logging code up to and including the specified logging level (0 - 8)[default=8]]
")
set_property(
CACHE DTLS_BACKEND
CACHE MAX_LOGGING_LEVEL
PROPERTY STRINGS
"0"
"1"
Expand Down Expand Up @@ -309,7 +309,7 @@ else()
message(STATUS "compiling without OSCORE support")
endif()

if(${ENABLE_WS} AND $(ENABLE_TCP))
if(${ENABLE_WS} AND ${ENABLE_TCP})
set(COAP_WS_SUPPORT "1")
message(STATUS "compiling with WebSockets support")
else()
Expand Down Expand Up @@ -377,11 +377,11 @@ else()
endif()

if(ENABLE_SMALL_STACK)
set(ENABLE_SMALL_STACK "${ENABLE_SMALL_STACK}")
set(COAP_CONSTRAINED_STACK "${ENABLE_SMALL_STACK}")
message(STATUS "compiling with small stack support")
endif()

if(${MAX_LOGGING_LEVEL} MATCHES "[0-7]")
if(${MAX_LOGGING_LEVEL} MATCHES "[0-8]")
set(COAP_MAX_LOGGING_LEVEL ${MAX_LOGGING_LEVEL})
message(STATUS "compiling with max logging level set to ${MAX_LOGGING_LEVEL}")
else()
Expand Down

0 comments on commit bb1a635

Please sign in to comment.