未验证 提交 1cac6388 编写于 作者: X XuanYang-cn 提交者: GitHub

fix include directories not find bug (#3323)

Signed-off-by: Nyangxuan <xuan.yang@zilliz.com>
Co-authored-by: Nyangxuan <xuan.yang@zilliz.com>
上级 fe905a00
......@@ -49,6 +49,7 @@ macro( build_libunwind )
${EP_LOG_OPTIONS} )
ExternalProject_Get_Property( libunwind_ep INSTALL_DIR )
file(MAKE_DIRECTORY ${INSTALL_DIR}/include)
add_library( libunwind SHARED IMPORTED )
set_target_properties(
libunwind PROPERTIES
......@@ -86,6 +87,7 @@ macro( build_gperftools )
ExternalProject_Get_Property( gperftools_ep INSTALL_DIR )
file(MAKE_DIRECTORY ${INSTALL_DIR}/include)
# libprofiler.a
add_library( gperftools STATIC IMPORTED )
set_target_properties( gperftools
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册