ClickHouse/cmake/check_flags.cmake

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

6 lines
204 B
CMake
Raw Permalink Normal View History

2021-05-12 04:14:00 +00:00
include (CheckCXXCompilerFlag)
include (CheckCCompilerFlag)
# Set/unset variable based on existence of compiler flags. Example:
# check_cxx_compiler_flag("-Wreserved-identifier" HAS_RESERVED_IDENTIFIER)