Skip to content

Commit

Permalink
align c-ares library type
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries committed Jan 10, 2024
1 parent 3f9c475 commit c492fd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ else()
set(BUILD_TESTING OFF CACHE INTERNAL "")
endif()
if(LIBCORO_FEATURE_NETWORKING)
set(CARES_STATIC ON CACHE INTERNAL "")
set(CARES_SHARED OFF CACHE INTERNAL "")
set(CARES_STATIC $<NOT:${LIBCORO_BUILD_SHARED_LIBS}> CACHE INTERNAL "")
set(CARES_SHARED ${LIBCORO_BUILD_SHARED_LIBS} CACHE INTERNAL "")
set(CARES_INSTALL OFF CACHE INTERNAL "")
add_subdirectory(vendor/c-ares/c-ares)
endif()
Expand Down

0 comments on commit c492fd0

Please sign in to comment.