From 21e92cbcf1ed102babbb19ffbbbbb1cec463fc24 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Thu, 18 Jun 2020 20:21:04 +0200 Subject: [PATCH] CMake: don't add cross compile suffix to wx-config library names for iOS build The libraries do not have this suffix. And configure also doesn't do it. --- build/cmake/config.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake index eb0f42167a..6978cc2725 100644 --- a/build/cmake/config.cmake +++ b/build/cmake/config.cmake @@ -85,7 +85,7 @@ function(wx_write_config) set(WX_CHARTYPE ansi) set(lib_unicode_suffix) endif() - if(CMAKE_CROSSCOMPILING) + if(CMAKE_CROSSCOMPILING AND NOT IPHONE) set(cross_compiling yes) set(host_alias ${CMAKE_SYSTEM_NAME}) else()