aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/mysql/mariadb/fix-a-building-failure.patch
blob: 0c4e10237ca997fd938561500afcf718162b5a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[PATCH] fix a building failure

Upstream-Status: Inappropriate [configuration]

building failed since native does not generate import_executables.cmake
In fact, our building system will export the needed commands

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 CMakeLists.txt | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c1ce1c5..83b3a7e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -350,11 +350,6 @@ MYSQL_CHECK_READLINE()
 
 CHECK_JEMALLOC()
 
-IF(CMAKE_CROSSCOMPILING)
-  SET(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Path to import_executables.cmake from a native build")
-  INCLUDE(${IMPORT_EXECUTABLES})
-ENDIF()
-
 #
 # Setup maintainer mode options by the end. Platform checks are
 # not run with the warning options as to not perturb fragile checks
-- 
1.9.1