Skip to content

Commit fcfc7d0

Browse files
committedSep 25, 2022
Fixed build dependencies after AtomVM change to components.
1 parent eea6087 commit fcfc7d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set(ATOMVM_ESP32CAM_COMPONENT_SRCS
2525
idf_component_register(
2626
SRCS ${ATOMVM_ESP32CAM_COMPONENT_SRCS}
2727
INCLUDE_DIRS "nifs/include"
28-
PRIV_REQUIRES "libatomvm" "main" "esp32-camera"
28+
PRIV_REQUIRES "libatomvm" "avm_sys" "esp32-camera"
2929
)
3030

3131
idf_build_set_property(

‎component.mk

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

0 commit comments

Comments
 (0)
Please sign in to comment.