Windows ARM/ARM64 requires AdvApi32 (#252)

Fix link issues caused by missing library that appears to only be required on ARM (though
docs don't list this restriction). Doesn't hurt to require it everywhere.

Bug: #251 
Fixed-By: Darrin Cullop (@dwcullop)
pull/256/head
Darrin W. Cullop 6 years ago committed by Brad House
parent 602aaec984
commit cedcbcc565
  1. 2
      CMakeLists.txt

@ -207,7 +207,7 @@ IF (HAVE_LIBRT)
LIST (APPEND CARES_DEPENDENT_LIBS rt)
ENDIF ()
IF (WIN32)
LIST (APPEND CARES_DEPENDENT_LIBS ws2_32)
LIST (APPEND CARES_DEPENDENT_LIBS ws2_32 Advapi32)
ENDIF ()

Loading…
Cancel
Save