Skip to content

Commit f502cb7

Browse files
authored
Changed ZENOH_DEBUG and FRAG_MAG_SIZE CMake options to cache variables. (#293)
1 parent 20d8351 commit f502cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ include(CMakePackageConfigHelpers)
1919
include(GNUInstallDirs)
2020

2121
option(BUILD_SHARED_LIBS "Build shared libraries if ON, otherwise build static libraries" ON)
22-
option(ZENOH_DEBUG "Use this to set the ZENOH_DEBUG variable." 0)
2322
option(WITH_ZEPHYR "Build for Zephyr RTOS" OFF)
2423
option(WITH_FREERTOS_PLUS_TCP "Build for FreeRTOS RTOS and FreeRTOS-Plus-TCP network stack" OFF)
25-
option(FRAG_MAX_SIZE "Use this to override the maximum size for fragmented messages" 0)
24+
set(ZENOH_DEBUG 0 CACHE STRING "Use this to set the ZENOH_DEBUG variable")
25+
set(FRAG_MAX_SIZE 0 CACHE STRING "Use this to override the maximum size for fragmented messages")
2626
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")
2727
if(CMAKE_EXPORT_COMPILE_COMMANDS)
2828
set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES

0 commit comments

Comments
 (0)