Fix some OSX linker problems.

pull/3/head
Christian Beier 8 years ago
parent 16cf35b2bf
commit ac478e6c70

@ -87,6 +87,12 @@ if(NOT HAVE_B64_IN_LIBC)
if(HAVE_B64_IN_LIBRESOLV)
set(RESOLV_LIB "resolv")
endif(HAVE_B64_IN_LIBRESOLV)
# the function check somehow fails for apple but the function is there
if(APPLE)
set(RESOLV_LIB "resolv")
endif(APPLE)
endif(NOT HAVE_B64_IN_LIBC)
if(Threads_FOUND)

Loading…
Cancel
Save