From 617b4d966acce6e506deddf17c2f7d4a87825e59 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Tue, 5 Nov 2024 17:01:35 +0100 Subject: [PATCH] [winpr,comm] enable comm for iOS The functions are supported in the SDK so compile it in --- winpr/libwinpr/comm/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winpr/libwinpr/comm/CMakeLists.txt b/winpr/libwinpr/comm/CMakeLists.txt index 5e0008e7e..47112d167 100644 --- a/winpr/libwinpr/comm/CMakeLists.txt +++ b/winpr/libwinpr/comm/CMakeLists.txt @@ -23,7 +23,7 @@ if (NOT WIN32) comm.c comm.h ) - if(UNIX AND NOT IOS AND NOT EMSCRIPTEN) + if(NOT EMSCRIPTEN) winpr_definition_add(-DWINPR_HAVE_SERIAL_SUPPORT) list(APPEND ${MODULE_PREFIX}_SRCS comm_io.c @@ -45,7 +45,7 @@ if (NOT WIN32) winpr_module_add(${${MODULE_PREFIX}_SRCS}) - if(UNIX AND NOT IOS AND NOT EMSCRIPTEN) + if(NOT EMSCRIPTEN) if(BUILD_TESTING_INTERNAL AND BUILD_COMM_TESTS) add_subdirectory(test) endif()