Skip to content

Commit 5b78da4

Browse files
igrrdavid-cermak
authored andcommitted
fix(esp_modem): specify override_path in example manifest files
1 parent 1d8923c commit 5b78da4

File tree

12 files changed

+25
-12
lines changed

12 files changed

+25
-12
lines changed

components/esp_modem/examples/ap_to_pppos/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
# CMakeLists in this exact order for cmake to work correctly
33
cmake_minimum_required(VERSION 3.5)
44

5-
set(EXTRA_COMPONENT_DIRS "../..")
6-
75
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
86
project(ap-to-pppos)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
espressif/esp_modem:
3+
version: "^1.0.1"
4+
override_path: "../../../"

components/esp_modem/examples/linux_modem/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5)
22

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

5-
set(EXTRA_COMPONENT_DIRS ../.. ../../port/linux)
5+
set(EXTRA_COMPONENT_DIRS ../../port/linux)
66

77
set(COMPONENTS main)
88
project(linux_modem)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
espressif/esp_modem:
3+
version: "^1.0.1"
4+
override_path: "../../../"

components/esp_modem/examples/modem_psm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@
44
# CMakeLists in this exact order for cmake to work correctly
55
cmake_minimum_required(VERSION 3.16)
66

7-
set(EXTRA_COMPONENT_DIRS "../..")
8-
97
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
108
project(modem_psm)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
espressif/esp_modem:
3+
version: "^1.0.1"
4+
override_path: "../../../"

components/esp_modem/examples/modem_tcp_client/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
# in this exact order for cmake to work correctly
33
cmake_minimum_required(VERSION 3.8)
44

5-
set(EXTRA_COMPONENT_DIRS "../..")
6-
75
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
86
project(modem_tcp_client)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
espressif/esp_modem:
3+
version: "^1.0.1"
4+
override_path: "../../../"

components/esp_modem/examples/pppos_client/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@
22
# in this exact order for cmake to work correctly
33
cmake_minimum_required(VERSION 3.5)
44

5-
set(EXTRA_COMPONENT_DIRS "../..")
6-
75
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
86
project(pppos_client)

components/esp_modem/examples/simple_cmux_client/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
cmake_minimum_required(VERSION 3.8)
44
set(CMAKE_CXX_STANDARD 17)
55

6-
set(EXTRA_COMPONENT_DIRS "../..")
7-
86
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
97
project(simple_cmux_client)

0 commit comments

Comments
 (0)