Skip to content

Commit 2a3db45

Browse files
authored
Merge pull request #541 from gabsuren/websocket_host_example_4
fix(websocket): fix of websocket host build
2 parents 1476388 + fcc61e0 commit 2a3db45

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
cmake_minimum_required(VERSION 3.5)
22

3-
set(COMPONENTS esp_websocket_client main)
3+
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
4+
45
set(common_component_dir ../../../../common_components)
56
set(EXTRA_COMPONENT_DIRS
6-
../../..
7+
../..
78
"${common_component_dir}/linux_compat/esp_timer"
89
"${common_component_dir}/linux_compat"
9-
"${common_component_dir}/linux_compat/freertos")
10-
11-
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/protocols/linux_stubs/esp_stubs)
12-
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
10+
"${common_component_dir}/linux_compat/freertos"
11+
$ENV{IDF_PATH}/examples/protocols/linux_stubs/esp_stubs
12+
$ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
1313

14+
set(COMPONENTS main)
1415
project(websocket)

components/esp_websocket_client/examples/linux/main/idf_component.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)