ClickHouse/base/poco/Redis/CMakeLists.txt
2023-02-08 11:22:07 +00:00

17 lines
481 B
CMake

file (GLOB SRCS src/*.cpp)
add_library (_poco_redis ${SRCS})
add_library (Poco::Redis ALIAS _poco_redis)
# TODO: remove these warning exclusions
target_compile_options (_poco_redis
PRIVATE
-Wno-deprecated-dynamic-exception-spec
-Wno-shadow
-Wno-shorten-64-to-32
-Wno-sign-compare
-Wno-zero-as-null-pointer-constant
)
target_include_directories (_poco_redis SYSTEM PUBLIC "include")
target_link_libraries (_poco_redis PUBLIC Poco::Net)