Skip to content

Commit

Permalink
Merge pull request #541 from gabsuren/websocket_host_example_4
Browse files Browse the repository at this point in the history
fix(websocket): fix of websocket host build
  • Loading branch information
gabsuren authored Mar 26, 2024
2 parents 1476388 + fcc61e0 commit 2a3db45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
13 changes: 7 additions & 6 deletions components/esp_websocket_client/examples/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
cmake_minimum_required(VERSION 3.5)

set(COMPONENTS esp_websocket_client main)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(common_component_dir ../../../../common_components)
set(EXTRA_COMPONENT_DIRS
../../..
../..
"${common_component_dir}/linux_compat/esp_timer"
"${common_component_dir}/linux_compat"
"${common_component_dir}/linux_compat/freertos")

list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/protocols/linux_stubs/esp_stubs)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
"${common_component_dir}/linux_compat/freertos"
$ENV{IDF_PATH}/examples/protocols/linux_stubs/esp_stubs
$ENV{IDF_PATH}/examples/common_components/protocol_examples_common)

set(COMPONENTS main)
project(websocket)

This file was deleted.

0 comments on commit 2a3db45

Please sign in to comment.