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 <>
This commit is contained in:
schrob
2023-08-10 14:23:12 +10:00
committed by GitHub
co-authored by Schdro
parent d2fef0af22
commit c41d128e73
+1 -1
View File
@@ -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"