From 8d6eb136fc6540fcc2f9a1d54b024f31497fb73c Mon Sep 17 00:00:00 2001 From: Kai-Uwe Hermann Date: Mon, 15 Jan 2024 23:03:45 +0100 Subject: [PATCH] Add missing OpenSSL find_package for OCPP and OCPP201 modules Signed-off-by: Kai-Uwe Hermann --- modules/OCPP/CMakeLists.txt | 4 ++++ modules/OCPP201/CMakeLists.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/modules/OCPP/CMakeLists.txt b/modules/OCPP/CMakeLists.txt index 6e7e8966ec..19069eb4dc 100644 --- a/modules/OCPP/CMakeLists.txt +++ b/modules/OCPP/CMakeLists.txt @@ -9,8 +9,12 @@ ev_setup_cpp_module() # ev@bcc62523-e22b-41d7-ba2f-825b493a3c97:v1 # insert your custom targets and additional config variables here +find_package(OpenSSL) + target_link_libraries(${MODULE_NAME} PRIVATE + OpenSSL::SSL + OpenSSL::Crypto everest::ocpp everest::ocpp_evse_security ) diff --git a/modules/OCPP201/CMakeLists.txt b/modules/OCPP201/CMakeLists.txt index b658f4145b..9794791d39 100644 --- a/modules/OCPP201/CMakeLists.txt +++ b/modules/OCPP201/CMakeLists.txt @@ -9,8 +9,12 @@ ev_setup_cpp_module() # ev@bcc62523-e22b-41d7-ba2f-825b493a3c97:v1 # insert your custom targets and additional config variables here +find_package(OpenSSL) + target_link_libraries(${MODULE_NAME} PRIVATE + OpenSSL::SSL + OpenSSL::Crypto everest::ocpp everest::ocpp_evse_security )