diff --git a/src/erasure-code/shec/CMakeLists.txt b/src/erasure-code/shec/CMakeLists.txt index 0e699203d7c..e7521542e31 100644 --- a/src/erasure-code/shec/CMakeLists.txt +++ b/src/erasure-code/shec/CMakeLists.txt @@ -10,6 +10,8 @@ set(shec_utils_srcs determinant.c) add_library(shec_utils OBJECT ${shec_utils_srcs}) +target_link_libraries(shec_utils + PRIVATE legacy-option-headers) set(ec_shec_objs $<TARGET_OBJECTS:gf-complete_objs>