diff --git a/cmake/modules/FindIconv.cmake b/cmake/modules/FindIconv.cmake deleted file mode 100644 index 345a3d736..000000000 --- a/cmake/modules/FindIconv.cmake +++ /dev/null @@ -1,39 +0,0 @@ -# - Try to find Iconv -# Once done this will define -# -# ICONV_FOUND - system has Iconv -# ICONV_INCLUDES - the Iconv include directory -# ICONV_LIBRARIES - The libraries needed to use Iconv -# -# Copyright (c) 2016-2019, Ivailo Monev, -# -# Redistribution and use is allowed according to the terms of the BSD license. - -if(ICONV_INCLUDES AND ICONV_LIBRARIES) - set(ICONV_FIND_QUIETLY TRUE) -endif() - -# Iconv does not provide pkg-config files - -find_path(ICONV_INCLUDES - NAMES - iconv.h - HINTS - $ENV{ICONVDIR}/include - ${INCLUDE_INSTALL_DIR} -) - -find_library(ICONV_LIBRARIES - NAMES - iconv c - HINTS - $ENV{ICONVDIR}/lib - ${LIB_INSTALL_DIR} -) - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Iconv - REQUIRED_VARS ICONV_INCLUDES ICONV_LIBRARIES -) - -mark_as_advanced(ICONV_INCLUDES ICONV_LIBRARIES)