From 91d4020c9bd212c5f75642e16becf3da02bed6e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Sroczy=C5=84ski?= Date: Thu, 13 Feb 2020 20:55:33 +0100 Subject: Remove "const" from the second argument of "iconv" --- ports/libiconv/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/libiconv/CMakeLists.txt b/ports/libiconv/CMakeLists.txt index 68fd49cc8..43d55c0c3 100644 --- a/ports/libiconv/CMakeLists.txt +++ b/ports/libiconv/CMakeLists.txt @@ -15,7 +15,7 @@ if(WIN32) set(USE_MBSTATE_T "0 /*USE_MBSTATE_T*/") set(BROKEN_WCHAR_H "0 /*BROKEN_WCHAR_H*/") set(HAVE_VISIBILITY "0 /*HAVE_VISIBILITY*/") - set(ICONV_CONST "const") + set(ICONV_CONST "") configure_file(config.h.in config.h) file(READ "${CMAKE_CURRENT_BINARY_DIR}/config.h" _contents) -- cgit v1.2.3