1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

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 <kostas@dragonflydb.io>
This commit is contained in:
Kostas Kyrimis 2024-07-09 19:34:12 +03:00 committed by Roman Gershman
parent 5c7c21b6c5
commit 501b7f7b4f
No known key found for this signature in database
GPG key ID: 6568CCAB9736B618

View file

@ -78,6 +78,7 @@ find_library(ZSTD_LIB NAMES libzstd.a libzstdstatic.a zstd NAMES_PER_DIR REQUIRE
if (WITH_AWS) if (WITH_AWS)
SET(AWS_LIB awsv2_lib) SET(AWS_LIB awsv2_lib)
add_definitions(-DWITH_AWS)
endif() endif()
cxx_link(dfly_transaction dfly_core strings_lib TRDP::fast_float) cxx_link(dfly_transaction dfly_core strings_lib TRDP::fast_float)