Patrick Williams | 4585273 | 2022-04-02 08:58:32 -0500 | [diff] [blame] | 1 | It appends system name to library names for cross compile. For example, the |
| 2 | library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is |
| 3 | not appropriate for oe. |
| 4 | |
| 5 | Upstream-Status: Pending [oe specific] |
| 6 | |
| 7 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 8 | --- |
| 9 | build/cmake/functions.cmake | 6 +++--- |
| 10 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 11 | |
| 12 | diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake |
| 13 | index 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 |