fix(esp_websocket_client): reference protocol_examples_common from IDF

This makes the 'target' example usable from the component registry.
'linux' example still has a bunch of EXTRA_COMPONENT_DIRS, but at
least we can delete the protocol_examples_common copy.
This commit is contained in:
Ivan Grokhotkov
2023-09-21 16:26:45 +02:00
committed by David Cermak
parent e6c0538d55
commit 025ede12e8
4 changed files with 5 additions and 4 deletions

View File

@ -2,8 +2,5 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
list(APPEND EXTRA_COMPONENT_DIRS "../../../../common_components/protocol_examples_common")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(websocket_example)