[flang-commits] [flang] [Flang][CMake] Add missing CMakePushCheckState for standalone build (PR #202285)

Michael Kruse via flang-commits flang-commits at lists.llvm.org
Mon Jun 8 01:08:40 PDT 2026


https://github.com/Meinersbur created https://github.com/llvm/llvm-project/pull/202285

None

>From fc9b40b28c46bedf457dce44dc04c14c51a01e31 Mon Sep 17 00:00:00 2001
From: Michael Kruse <llvm-project at meinersbur.de>
Date: Mon, 8 Jun 2026 09:43:56 +0200
Subject: [PATCH] [Flang][CMake] Add missing CMakePushCheckState for standalone
 build

---
 flang/cmake/modules/FlangCommon.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/flang/cmake/modules/FlangCommon.cmake b/flang/cmake/modules/FlangCommon.cmake
index c01afa43d0c1a..a1e80f737e543 100644
--- a/flang/cmake/modules/FlangCommon.cmake
+++ b/flang/cmake/modules/FlangCommon.cmake
@@ -12,6 +12,7 @@
 
 include(CheckCSourceCompiles)
 include(CheckIncludeFile)
+include(CMakePushCheckState)
 
 # The out of tree builds of the compiler and the Fortran runtime
 # must use the same setting of FLANG_RUNTIME_F128_MATH_LIB



More information about the flang-commits mailing list