cmake HAS_WERROR_GLOBAL_CTORS examples

Lewuathe/mlir-hello thirdparty/llvm-project/llvm/lib/Support/CMakeLists.txt :10

check_cxx_compiler_flag("-Werror=global-constructors" HAS_WERROR_GLOBAL_CTORS)

root-project/root interpreter/llvm-project/llvm/lib/Support/CMakeLists.txt :10

check_cxx_compiler_flag("-Werror=global-constructors" HAS_WERROR_GLOBAL_CTORS)