ClickHouse/cmake/check_flags.cmake

6 lines
204 B
CMake
Raw 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)