blob: 0f78cc134ecc0d317965a50f61d35b4b49df37c3 [file] [log] [blame]
Patrick Williams45852732022-04-02 08:58:32 -05001It appends system name to library names for cross compile. For example, the
2library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is
3not appropriate for oe.
4
5Upstream-Status: Pending [oe specific]
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
8---
9 build/cmake/functions.cmake | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake
13index 53cd6a1ace..95efa17fe4 100644
14--- a/build/cmake/functions.cmake
15+++ b/build/cmake/functions.cmake
16@@ -211,9 +211,9 @@ function(wx_set_target_properties target_name is_base)
17 endif()
18 else()
19 set(cross_target "")
20- if (CMAKE_CROSSCOMPILING)
21- set(cross_target "-${CMAKE_SYSTEM_NAME}")
22- endif ()
23+ #if (CMAKE_CROSSCOMPILING)
24+ # set(cross_target "-${CMAKE_SYSTEM_NAME}")
25+ #endif ()
26
27 set_target_properties(${target_name}
28 PROPERTIES