[libc-commits] [libc] [libc] Include CheckCXXCompilerFlag when checking compiler features (PR #118862)

Tristan Ross via libc-commits libc-commits at lists.llvm.org
Thu Dec 5 11:44:56 PST 2024


https://github.com/RossComputerGuy updated https://github.com/llvm/llvm-project/pull/118862

>From 989c7db14f98672da352ec216b75a615bd5befd9 Mon Sep 17 00:00:00 2001
From: Tristan Ross <tristan.ross at midstall.com>
Date: Thu, 5 Dec 2024 11:31:46 -0800
Subject: [PATCH] [libc] Include CheckCXXCompilerFlag when checking compiler
 features

---
 libc/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
index 5196735bef4e76..6d48489284faef 100644
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -7,6 +7,7 @@ if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
 endif()
 include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
   NO_POLICY_SCOPE)
+include(CheckCXXCompilerFlag)
 
 if (LIBC_CMAKE_VERBOSE_LOGGING)
   get_directory_property(LIBC_OLD_PREPROCESSOR_DEFS COMPILE_DEFINITIONS)



More information about the libc-commits mailing list