ClickHouse/contrib/poco-cmake/Redis/CMakeLists.txt

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

22 lines
781 B
CMake
Raw Normal View History

2022-01-17 20:05:15 +00:00
set (SRCS
"${LIBRARY_DIR}/Redis/src/Array.cpp"
"${LIBRARY_DIR}/Redis/src/AsyncReader.cpp"
"${LIBRARY_DIR}/Redis/src/Client.cpp"
"${LIBRARY_DIR}/Redis/src/Command.cpp"
"${LIBRARY_DIR}/Redis/src/Error.cpp"
"${LIBRARY_DIR}/Redis/src/Exception.cpp"
"${LIBRARY_DIR}/Redis/src/RedisEventArgs.cpp"
"${LIBRARY_DIR}/Redis/src/RedisStream.cpp"
"${LIBRARY_DIR}/Redis/src/Type.cpp"
)
2022-01-17 20:05:15 +00:00
add_library (_poco_redis ${SRCS})
add_library (Poco::Redis ALIAS _poco_redis)
2022-01-17 20:05:15 +00:00
if (COMPILER_GCC)
target_compile_options (_poco_redis PRIVATE -Wno-deprecated-copy)
endif ()
2022-01-17 20:05:15 +00:00
target_compile_options (_poco_redis PRIVATE -Wno-shadow)
target_include_directories (_poco_redis SYSTEM PUBLIC "${LIBRARY_DIR}/Redis/include")
target_link_libraries (_poco_redis PUBLIC Poco::Net)