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.
This commit is contained in:
Maarten Bent
2020-06-18 20:21:04 +02:00
parent 49a23c1dfa
commit 21e92cbcf1

View File

@@ -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()