Skip to content

Commit

Permalink
Merge pull request #865 from llange/fix-cmakelists-errors
Browse files Browse the repository at this point in the history
ESP-IDF v5+: CMakeLists.txt - fixes for mcp2515 / ovms_webserver
  • Loading branch information
dexterbg committed Apr 10, 2023
2 parents 89691a8 + 13bfb25 commit 25d7fb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vehicle/OVMS.V3/components/mcp2515/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
set(srcs)
set(include_dirs)

if (CONFIG_OVMS_SC_JAVASCRIPT_DUKTAPE)
if (CONFIG_OVMS_COMP_MCP2515)
list(APPEND srcs "src/mcp2515.cpp")
list(APPEND include_dirs "src")
endif ()
Expand Down
2 changes: 1 addition & 1 deletion vehicle/OVMS.V3/components/ovms_webserver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif ()
idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${include_dirs}
REQUIRES "pushover" "mongoose"
PRIV_REQUIRES "main"
PRIV_REQUIRES "main" "ovms_plugins"
EMBED_FILES ${embedded_files}
WHOLE_ARCHIVE)

Expand Down

0 comments on commit 25d7fb4

Please sign in to comment.