diff --git a/CMakeLists.txt b/CMakeLists.txt index b789f625..9c91adc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,6 +323,8 @@ if(UNIX) list(APPEND MINIZIP_DEF -DHAVE_ICONV) list(APPEND MINIZIP_INC ${Iconv_INCLUDE_DIRS}) set(PC_PRIVATE_LIBS "${PC_PRIVATE_LIBS} -liconv") + else() + message(WARNING "Limited encoding support due to missing iconv") endif() endif() diff --git a/mz_os_posix.c b/mz_os_posix.c index 436a3841..39c97d90 100644 --- a/mz_os_posix.c +++ b/mz_os_posix.c @@ -88,7 +88,6 @@ uint8_t *mz_os_utf8_string_create(const char *string, int32_t encoding) return string_utf8; } #else -#pragma message("Warning: Limited encoding support") uint8_t *mz_os_utf8_string_create(const char *string, int32_t encoding) { size_t string_length = 0;