1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix build when devel/icu is installed

PR:		246305
Reported by:	Mohammad S. Babaei <info@babaei.net>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-07-11 07:48:56 +00:00
parent b1d554e3b0
commit 71a32365b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541950

View File

@ -0,0 +1,17 @@
--- CMakeLists.txt.orig 2017-01-03 20:00:08 UTC
+++ CMakeLists.txt
@@ -732,13 +732,8 @@ ENDIF(VMIME_HAVE_TLS_SUPPORT)
# Charset conversion library
INCLUDE(cmake/FindIconv.cmake)
-INCLUDE(cmake/FindICU.cmake)
-FIND_PACKAGE(ICU QUIET)
-
-IF(ICU_LIBRARIES)
- SET(VMIME_CHARSETCONV_LIB_DETECTED "icu")
-ELSEIF(ICONV_FOUND)
+IF(ICONV_FOUND)
SET(VMIME_CHARSETCONV_LIB_DETECTED "iconv")
ELSEIF(WIN32)
SET(VMIME_CHARSETCONV_LIB_DETECTED "win")