summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch
blob: 0f4815b1856cdc339fcfa410239b8e08a56f9b8c (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
This is not needed for OE builds

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

Upstream-Status: Inappropriate [configuration]

Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -392,11 +392,6 @@ CHECK_PCRE()
 
 CHECK_SYSTEMD()
 
-IF(CMAKE_CROSSCOMPILING AND NOT DEFINED CMAKE_CROSSCOMPILING_EMULATOR)
-  SET(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Path to import_executables.cmake from a native build")
-  INCLUDE(${IMPORT_EXECUTABLES})
-ENDIF()
-
 #
 # Setup maintainer mode options. Platform checks are
 # not run with the warning options as to not perturb fragile checks