From 501b7f7b4fb049de2a8a5fff15d945cd7da1046a Mon Sep 17 00:00:00 2001 From: Kostas Kyrimis Date: Tue, 9 Jul 2024 19:34:12 +0300 Subject: [PATCH] fix: define macro WITH_AWS in cmake when flag is ON (#3296) * fix missing preprocessor macro when WITH_AWS is on Signed-off-by: kostas --- src/server/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt index 62449efc4..e649f6401 100644 --- a/src/server/CMakeLists.txt +++ b/src/server/CMakeLists.txt @@ -78,6 +78,7 @@ find_library(ZSTD_LIB NAMES libzstd.a libzstdstatic.a zstd NAMES_PER_DIR REQUIRE if (WITH_AWS) SET(AWS_LIB awsv2_lib) + add_definitions(-DWITH_AWS) endif() cxx_link(dfly_transaction dfly_core strings_lib TRDP::fast_float)