Skip to content

Commit b022f67

Browse files
authored
[flang] Include needed CMake files. (#133012)
`FlangCommon.cmake` uses some CMake macros without including the corresponding modules. This change makes it self-sufficient.
1 parent e5641f6 commit b022f67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang/cmake/modules/FlangCommon.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
#
1111
#===------------------------------------------------------------------------===#
1212

13+
include(CheckCSourceCompiles)
14+
include(CheckIncludeFile)
15+
1316
# The out of tree builds of the compiler and the Fortran runtime
1417
# must use the same setting of FLANG_RUNTIME_F128_MATH_LIB
1518
# to be composable. Failure to synchronize this setting may result

0 commit comments

Comments
 (0)