From 9ce648636905c072e1db6756703e2aa94dd07449 Mon Sep 17 00:00:00 2001 From: Florian Larysch Date: Mon, 13 Apr 2026 21:57:03 +0200 Subject: [PATCH] install json2cbor The old Make-based build system installed json2cbor during "make install" if it has been built. However, this behavior got dropped during the CMake migration, causing this tool to be missing by default. Restore the old behavior. Signed-off-by: Florian Larysch --- tools/json2cbor/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/json2cbor/CMakeLists.txt b/tools/json2cbor/CMakeLists.txt index 41892a3f..a8731144 100644 --- a/tools/json2cbor/CMakeLists.txt +++ b/tools/json2cbor/CMakeLists.txt @@ -6,4 +6,5 @@ if(LIBCJSON_FOUND) tinycbor_add_executable(json2cbor json2cbor.c) target_include_directories(json2cbor SYSTEM PUBLIC ${LIBCJSON_INCLUDE_DIRS}) target_link_libraries(json2cbor ${LIBCJSON_LIBRARIES}) + install(TARGETS json2cbor) endif()