Skip to content

Commit

Permalink
fix: define macro WITH_AWS in cmake when flag is ON (#3296)
Browse files Browse the repository at this point in the history
* fix missing preprocessor macro when WITH_AWS is on

Signed-off-by: kostas <kostas@dragonflydb.io>
  • Loading branch information
kostasrim authored and romange committed Jul 9, 2024
1 parent 5c7c21b commit 501b7f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 501b7f7

Please sign in to comment.