blob: cc9dca4ea518ca7cd37997418c7647a71591e999 [file] [log] [blame]
Brad Bishop0f291cc2019-09-01 15:16:57 -04001From e32075119803f9fffbba01a31083e416cb213011 Mon Sep 17 00:00:00 2001
Brad Bishop316dfdd2018-06-25 12:45:53 -04002From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Tue, 19 Dec 2017 16:37:20 +0100
Brad Bishop0f291cc2019-09-01 15:16:57 -04004Subject: [PATCH 1/7] CMakeLists.txt: Remove TRY_RUN for iconv
Brad Bishop316dfdd2018-06-25 12:45:53 -04005MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9| CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately:
10| _correct_iconv_EXITCODE (advanced)
11
12Upstream-Status: Inappropriate [OE specific]
13
14Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
15---
Brad Bishop0f291cc2019-09-01 15:16:57 -040016 CMakeLists.txt | 6 ------
17 1 file changed, 6 deletions(-)
Brad Bishop316dfdd2018-06-25 12:45:53 -040018
19diff --git a/CMakeLists.txt b/CMakeLists.txt
Brad Bishop0f291cc2019-09-01 15:16:57 -040020index f9d72db..ed99904 100644
Brad Bishop316dfdd2018-06-25 12:45:53 -040021--- a/CMakeLists.txt
22+++ b/CMakeLists.txt
Brad Bishop0f291cc2019-09-01 15:16:57 -040023@@ -526,15 +526,9 @@ endif(NOT HAVE_ICONV)
Brad Bishop316dfdd2018-06-25 12:45:53 -040024
25 set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBS})
Brad Bishop0f291cc2019-09-01 15:16:57 -040026 file(TO_NATIVE_PATH "${CMAKE_BINARY_DIR}/" _binary_dir_with_separator)
27-CHECK_C_SOURCE_RUNS("#define ICONV_DETECT_BUILD_DIR \"${_binary_dir_with_separator}\"
28- #include \"${CMAKE_SOURCE_DIR}/iconv-detect.c\"" _correct_iconv)
29 unset(_binary_dir_with_separator)
Brad Bishop316dfdd2018-06-25 12:45:53 -040030 unset(CMAKE_REQUIRED_LIBRARIES)
31
32-if(NOT _correct_iconv)
33- message(FATAL_ERROR "You need to install a working iconv implementation, such as ftp://ftp.gnu.org/pub/gnu/libiconv")
34-endif(NOT _correct_iconv)
35-
36 # ******************************
37 # Backtraces for debugging
38 # ******************************
39--
Brad Bishop0f291cc2019-09-01 15:16:57 -0400402.21.0
Brad Bishop316dfdd2018-06-25 12:45:53 -040041