diff options
Diffstat (limited to 'src/components/transport_manager/CMakeLists.txt')
-rw-r--r-- | src/components/transport_manager/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/transport_manager/CMakeLists.txt b/src/components/transport_manager/CMakeLists.txt index a539c64578..82cc00baf2 100644 --- a/src/components/transport_manager/CMakeLists.txt +++ b/src/components/transport_manager/CMakeLists.txt @@ -106,6 +106,18 @@ else() ) endif() +if(NOT BUILD_WEBSOCKET_SERVER_SUPPORT) + list(APPEND EXCLUDE_PATHS + ${CMAKE_CURRENT_SOURCE_DIR}/include/transport_manager/websocket_server + ${CMAKE_CURRENT_SOURCE_DIR}/src/websocket_server + ) +elseif(NOT ENABLE_SECURITY) + list(APPEND EXCLUDE_PATHS + ${CMAKE_CURRENT_SOURCE_DIR}/include/transport_manager/websocket_server/websocket_secure_session.h + ${CMAKE_CURRENT_SOURCE_DIR}/src/websocket_server/websocket_secure_session.cc + ) +endif() + if(NOT ENABLE_IAP2EMULATION) list (APPEND EXCLUDE_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/include/iap2_emulation/iap2_transport_adapter.h |