ClickHouse/base/poco/Redis/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
481 B
CMake
Raw Normal View History

file (GLOB SRCS src/*.cpp)
add_library (_poco_redis ${SRCS})
add_library (Poco::Redis ALIAS _poco_redis)
2023-02-07 17:31:44 +00:00
# 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)