Browse Source

!15289 decoupling from nsl

From: @zhoufeng54
Reviewed-by: @kisnwang,@xu-yfei
Signed-off-by: @xu-yfei
pull/15289/MERGE
mindspore-ci-bot Gitee 5 years ago
parent
commit
4bf4aa0b7f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cmake/external_libs/c-ares.cmake

+ 2
- 1
cmake/external_libs/c-ares.cmake 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)

Loading…
Cancel
Save