Skip to content

Commit 1b12cb0

Browse files
committed
Fixed build dependencies after AtomVM change to components.
1 parent 76e2fb3 commit 1b12cb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set(ATOMVM_MQTT_CLIENT_COMPONENT_SRCS
2525
idf_component_register(
2626
SRCS ${ATOMVM_MQTT_CLIENT_COMPONENT_SRCS}
2727
INCLUDE_DIRS "ports/include"
28-
PRIV_REQUIRES "libatomvm" "main" "mqtt"
28+
PRIV_REQUIRES "libatomvm" "avm_sys" "mqtt"
2929
)
3030

3131
idf_build_set_property(

component.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
COMPONENT_ADD_INCLUDEDIRS := ports/include ../../main
1+
COMPONENT_ADD_INCLUDEDIRS := ports/include
22
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
33
COMPONENT_SRCDIRS := ports
44
CXXFLAGS += -fno-rtti

0 commit comments

Comments
 (0)