mirror of
https://github.com/pine64/blisp.git
synced 2024-12-22 14:30:28 +00:00
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:
parent
d2fef0af22
commit
c41d128e73
@ -8,7 +8,7 @@ file(GLOB_RECURSE sources
|
|||||||
)
|
)
|
||||||
list(APPEND ADD_SRCS ${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}/bin/bin_file.c"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_file.c"
|
"${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_file.c"
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_crc.c"
|
"${CMAKE_CURRENT_SOURCE_DIR}/dfu/dfu_crc.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user