mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
17 lines
481 B
CMake
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)
|