From: Mike Gelfand Date: Tue, 23 Feb 2016 03:00:12 +0000 (+0000) Subject: Define `HAVE_ICONV` instead of `HAVE_ICONV_OPEN` when CMake is used X-Git-Tag: 2.90~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3d9e77c40d6d32224eb044cb6751dc760d79af8;p=transmission Define `HAVE_ICONV` instead of `HAVE_ICONV_OPEN` when CMake is used --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 5669878fe..7197440a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -513,7 +513,7 @@ foreach(F ${NEEDED_FUNCTIONS}) endforeach() if(ICONV_FOUND) - add_definitions(-DHAVE_ICONV_OPEN) + add_definitions(-DHAVE_ICONV) endif() # if(MINGW)