Skip to content

Commit 501b7f7

Browse files
kostasrimromange
authored andcommitted
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 <[email protected]>
1 parent 5c7c21b commit 501b7f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ find_library(ZSTD_LIB NAMES libzstd.a libzstdstatic.a zstd NAMES_PER_DIR REQUIRE
7878

7979
if (WITH_AWS)
8080
SET(AWS_LIB awsv2_lib)
81+
add_definitions(-DWITH_AWS)
8182
endif()
8283

8384
cxx_link(dfly_transaction dfly_core strings_lib TRDP::fast_float)

0 commit comments

Comments
 (0)