ClickHouse/base/poco/Util/CMakeLists.txt

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

22 lines
639 B
CMake
Raw Normal View History

file (GLOB SRCS src/*.cpp)
add_library (_poco_util ${SRCS})
add_library (Poco::Util ALIAS _poco_util)
2023-02-07 17:45:48 +00:00
# TODO: remove these warning exclusions
target_compile_options (_poco_util
PRIVATE
-Wno-deprecated-dynamic-exception-spec
2023-02-07 17:48:11 +00:00
-Wno-extra-semi-stmt
2023-02-07 17:45:48 +00:00
-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)