decouling from nsl

Signed-off-by: zhoufeng <zhoufeng54@huawei.com>
This commit is contained in:
zhoufeng 2021-04-16 18:57:58 +08:00
parent 2edff12952
commit 526847218b
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ mindspore_add_pkg(c-ares
CMAKE_OPTION -DCMAKE_BUILD_TYPE:STRING=Release
-DCARES_SHARED:BOOL=OFF
-DCARES_STATIC:BOOL=ON
-DCARES_STATIC_PIC:BOOL=ON)
-DCARES_STATIC_PIC:BOOL=ON
-DHAVE_LIBNSL:BOOL=OFF)
include_directories(${c-ares_INC})
add_library(mindspore::cares ALIAS c-ares::cares)