diff options
Diffstat (limited to 'libtransport/src/io_modules')
-rw-r--r-- | libtransport/src/io_modules/CMakeLists.txt | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/libtransport/src/io_modules/CMakeLists.txt b/libtransport/src/io_modules/CMakeLists.txt index b1d251632..cf466721f 100644 --- a/libtransport/src/io_modules/CMakeLists.txt +++ b/libtransport/src/io_modules/CMakeLists.txt @@ -13,20 +13,8 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) -if (${CMAKE_SYSTEM_NAME} MATCHES Android) - list(APPEND SOURCE_FILES - ${CMAKE_CURRENT_SOURCE_DIR}/udp/hicn_forwarder_module.cc - ${CMAKE_CURRENT_SOURCE_DIR}/udp/udp_socket_connector.cc - ) +if (${CMAKE_SYSTEM_NAME} MATCHES "^(iOS|Android|Windows)$") - list(APPEND HEADER_FILES - ${CMAKE_CURRENT_SOURCE_DIR}/udp/hicn_forwarder_module.h - ${CMAKE_CURRENT_SOURCE_DIR}/udp/udp_socket_connector.h - ) - - set(SOURCE_FILES ${SOURCE_FILES} PARENT_SCOPE) - set(HEADER_FILES ${HEADER_FILES} PARENT_SCOPE) -elseif (WIN32) list(APPEND SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/udp/hicn_forwarder_module.cc ${CMAKE_CURRENT_SOURCE_DIR}/udp/udp_socket_connector.cc |