blob: 6329256b0c5d7b3798515f65e3042ff1ac4285af [file] [log] [blame]
It appends system name to library names for cross compile. For example, the
library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is
not appropriate for oe.
Upstream-Status: Pending [oe specific]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Rebase for wxWidgets 3.2.1.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
build/cmake/functions.cmake | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake
index e374d9a273..c6b1908bd6 100644
--- a/build/cmake/functions.cmake
+++ b/build/cmake/functions.cmake
@@ -219,9 +219,9 @@ function(wx_set_target_properties target_name)
endif()
set(cross_target)
- if (CMAKE_CROSSCOMPILING)
- set(cross_target "-${CMAKE_SYSTEM_NAME}")
- endif()
+ #if (CMAKE_CROSSCOMPILING)
+ # set(cross_target "-${CMAKE_SYSTEM_NAME}")
+ #endif()
set(lib_prefix "lib")
if(MSVC OR (WIN32 AND wxBUILD_SHARED))