diff --git a/core/src/CMakeLists.txt b/core/src/CMakeLists.txt index 653069af76..9629f2c9d6 100644 --- a/core/src/CMakeLists.txt +++ b/core/src/CMakeLists.txt @@ -255,6 +255,7 @@ if (NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64") endif () add_library(milvus_engine STATIC ${engine_files}) +add_dependencies(milvus_engine fiu) target_link_libraries(milvus_engine knowhere ${third_party_libs} @@ -266,6 +267,7 @@ if (MILVUS_WITH_PROMETHEUS) else () add_library(metrics STATIC ${metrics_files}) endif () +add_dependencies(metrics fiu) set(metrics_lib yaml-cpp @@ -280,6 +282,7 @@ endif () target_link_libraries(metrics ${metrics_lib}) add_library(tracing STATIC ${tracing_files} ${thirdparty_files}) +add_dependencies(tracing fiu) set(tracing_lib opentracing opentracing_mocktracer @@ -342,4 +345,4 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Debug") DESTINATION lib) else() message("unknown CMAKE_BUILD_TYPE") -endif() \ No newline at end of file +endif()