From 6971d9a3048e61faeeeda8c0a9f9950ae350436a Mon Sep 17 00:00:00 2001 From: Michael Zillgith Date: Mon, 5 Aug 2024 18:31:42 +0100 Subject: [PATCH] - fixed cmake file so compilation of GOOSE code (without R-GOOSE support) is possible without mbedtls --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9542e73..99f636fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -170,6 +170,11 @@ if (CONFIG_IEC61850_SNTP_CLIENT) set(BUILD_SNTP_CLIENT_EXAMPLES 1) endif (CONFIG_IEC61850_SNTP_CLIENT) +else(WITH_MBEDTLS OR WITH_MBEDTLS3) + +set(CONFIG_IEC61850_R_GOOSE 0) +set(CONFIG_IEC61850_R_SMV 0) + endif(WITH_MBEDTLS OR WITH_MBEDTLS3) include(CheckCCompilerFlag)