Skip to content

Commit

Permalink
Fix module dependencies for libevse-security and tls libraries (EVere…
Browse files Browse the repository at this point in the history
…st#837)

This fixed builds for subsets of modules that do not need these libraries

Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass authored Aug 21, 2024
1 parent bee7af6 commit a19bce9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions lib/staging/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
add_subdirectory(can_dpm1000)
add_subdirectory(evse_security)
add_subdirectory(tls)
if(EVEREST_DEPENDENCY_ENABLED_LIBEVSE_SECURITY)
add_subdirectory(evse_security)
add_subdirectory(tls)
endif()
if(EVEREST_DEPENDENCY_ENABLED_LIBSLAC AND EVEREST_DEPENDENCY_ENABLED_LIBFSM)
add_subdirectory(slac)
endif()
Expand Down
2 changes: 1 addition & 1 deletion module-dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ev_define_dependency(
ev_define_dependency(
DEPENDENCY_NAME libevse-security
OUTPUT_VARIABLE_SUFFIX LIBEVSE_SECURITY
DEPENDENT_MODULES_LIST OCPP OCPP201 EvseSecurity)
DEPENDENT_MODULES_LIST OCPP OCPP201 EvseSecurity EvseV2G)

ev_define_dependency(
DEPENDENCY_NAME sqlite_cpp
Expand Down

0 comments on commit a19bce9

Please sign in to comment.