opnsense-ports/deskutils/owncloudclient/files/patch-cmake-modules-FindIconv.cmake
Franco Fichtner af709f290d */*: sync with upstream
Taken from: FreeBSD
2015-10-11 11:12:49 +02:00

13 lines
455 B
CMake

--- cmake/modules/FindIconv.cmake.orig 2015-07-09 17:51:37 UTC
+++ cmake/modules/FindIconv.cmake
@@ -36,9 +36,7 @@ find_library(ICONV_LIBRARY
)
if (ICONV_LIBRARY)
- get_filename_component(_ICONV_NAME ${ICONV_LIBRARY} NAME)
- get_filename_component(_ICONV_PATH ${ICONV_LIBRARY} PATH)
- check_library_exists(${_ICONV_NAME} iconv ${_ICONV_PATH} HAVE_ICONV)
+ set(HAVE_ICONV TRUE)
else()
check_function_exists(iconv HAVE_ICONV)
endif()