Skip to content

Commit

Permalink
just a relative folder
Browse files Browse the repository at this point in the history
  • Loading branch information
hoeken committed May 28, 2024
1 parent 2babb83 commit cac67f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/esp-idf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ 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)
set(HTTP_PATH "../../")
#this works
#set(HTTP_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../)
endif(DEFINED ENV{HTTP_PATH})

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

message(EXTRA_COMPONENT_DIRS="${EXTRA_COMPONENT_DIRS}")

Expand Down

0 comments on commit cac67f1

Please sign in to comment.