mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
22 lines
639 B
CMake
22 lines
639 B
CMake
file (GLOB SRCS src/*.cpp)
|
|
|
|
add_library (_poco_util ${SRCS})
|
|
add_library (Poco::Util ALIAS _poco_util)
|
|
|
|
# TODO: remove these warning exclusions
|
|
target_compile_options (_poco_util
|
|
PRIVATE
|
|
-Wno-deprecated-dynamic-exception-spec
|
|
-Wno-extra-semi-stmt
|
|
-Wno-newline-eof
|
|
-Wno-old-style-cast
|
|
-Wno-shadow
|
|
-Wno-sign-compare
|
|
-Wno-suggest-destructor-override
|
|
-Wno-suggest-override
|
|
-Wno-unused-parameter
|
|
-Wno-zero-as-null-pointer-constant
|
|
)
|
|
target_include_directories (_poco_util SYSTEM PUBLIC "include")
|
|
target_link_libraries (_poco_util PUBLIC Poco::JSON Poco::XML)
|