mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
remove now redundant iconv CMake module [ci skip]
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
89c09bdbe6
commit
82fb75adb5
1 changed files with 0 additions and 39 deletions
|
@ -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, <xakepa10@gmail.com>
|
|
||||||
#
|
|
||||||
# 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)
|
|
Loading…
Add table
Reference in a new issue