Commit b2227032 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Don't link against yes. Of course it does not work anyway

parent 072b223b
...@@ -172,7 +172,7 @@ target_link_libraries(libvlc-control libvlc) ...@@ -172,7 +172,7 @@ target_link_libraries(libvlc-control libvlc)
# Libraries # Libraries
# iconv # iconv
target_link_libraries(libvlc ${HAVE_ICONV}) target_link_libraries(libvlc ${LIBICONV})
# Carbon # Carbon
if(APPLE) if(APPLE)
......
...@@ -75,9 +75,15 @@ if(NOT HAVE_GETADDRINFO) ...@@ -75,9 +75,15 @@ if(NOT HAVE_GETADDRINFO)
check_library_exists(getaddrinfo nsl "" HAVE_GETADDRINFO) check_library_exists(getaddrinfo nsl "" HAVE_GETADDRINFO)
endif(NOT HAVE_GETADDRINFO) endif(NOT HAVE_GETADDRINFO)
find_library(HAVE_ICONV iconv) set(LIBICONV "")
vlc_check_functions_exist(iconv)
if(NOT HAVE_ICONV)
set(LIBICONV "iconv")
check_library_exists(iconv iconv "" HAVE_ICONV)
endif(NOT HAVE_ICONV)
# FIXME: this will break on *BSD: # FIXME: this will break on *BSD:
set( ICONV_CONST " " ) set( ICONV_CONST "" )
check_library_exists(rt clock_nanosleep "" HAVE_CLOCK_NANOSLEEP) check_library_exists(rt clock_nanosleep "" HAVE_CLOCK_NANOSLEEP)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment