Skip to content

Commit

Permalink
lets try this now...
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed May 28, 2024
1 parent fb26061 commit cb83f32
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/esp-idf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
idf_target: ["esp32"]

runs-on: ubuntu-latest
name: Build esp-idf v4.4 example
name: Build

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 4 additions & 2 deletions examples/esp-idf/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

if(DEFINED ENV{HTTP_PATH})
set(HTTP_PATH $ENV{HTTP_PATH})
else()
set(HTTP_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../PsychicHttp)
endif(DEFINED ENV{HTTP_PATH})


set(EXTRA_COMPONENT_DIRS ${HTTP_PATH})
#set(EXTRA_COMPONENT_DIRS "../../")

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
message(EXTRA_COMPONENT_DIRS="${EXTRA_COMPONENT_DIRS}")

project(PsychicHttp_IDF)

0 comments on commit cb83f32

Please sign in to comment.