[flang-commits] [flang] da17c1c - [Flang][CMake] Add missing CMakePushCheckState for standalone build (#202285)
via flang-commits
flang-commits at lists.llvm.org
Mon Jun 8 01:22:48 PDT 2026
Author: Michael Kruse
Date: 2026-06-08T10:22:43+02:00
New Revision: da17c1ca11a490e1c54c49868a38c5f5c994b947
URL: https://github.com/llvm/llvm-project/commit/da17c1ca11a490e1c54c49868a38c5f5c994b947
DIFF: https://github.com/llvm/llvm-project/commit/da17c1ca11a490e1c54c49868a38c5f5c994b947.diff
LOG: [Flang][CMake] Add missing CMakePushCheckState for standalone build (#202285)
Needed for the functions cmake_push_check_state/cmake_pop_check_state.
The corresponding include command was missing for flang-standalone
builds.
Added:
Modified:
flang/cmake/modules/FlangCommon.cmake
Removed:
################################################################################
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