From c41d128e73ff011549ed68080a2b990c8524a80f Mon Sep 17 00:00:00 2001 From: schrob <83939986+schdro@users.noreply.github.com> Date: Thu, 10 Aug 2023 06:23:12 +0200 Subject: [PATCH] Compile internal file_parsers lib always statically (#51) Otherwise, depending on BUILD_SHARED_LIBS default, it may be compiled dynamically. However, the resulting DSO currently would not be installed, resulting in unusable installed blisp binary. Co-authored-by: Schdro <> --- tools/blisp/src/file_parsers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/blisp/src/file_parsers/CMakeLists.txt b/tools/blisp/src/file_parsers/CMakeLists.txt index f7be88f..aef2a38 100644 --- a/tools/blisp/src/file_parsers/CMakeLists.txt +++ b/tools/blisp/src/file_parsers/CMakeLists.txt @@ -8,7 +8,7 @@ file(GLOB_RECURSE sources ) list(APPEND ADD_SRCS ${sources}) -add_library(file_parsers +add_library(file_parsers STATIC "${CMAKE_CURRENT_SOURCE_DIR}/bin/bin_file.c" "${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_file.c" "${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_crc.c"