From c3d9e77c40d6d32224eb044cb6751dc760d79af8 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Tue, 23 Feb 2016 03:00:12 +0000 Subject: [PATCH] Define `HAVE_ICONV` instead of `HAVE_ICONV_OPEN` when CMake is used --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.40.0