Skip to content

Commit cc1073d

Browse files
vzakharigithub-actions[bot]
authored andcommitted
Automerge: [flang] Include needed CMake files. (#133012)
`FlangCommon.cmake` uses some CMake macros without including the corresponding modules. This change makes it self-sufficient.
2 parents bb467f4 + b022f67 commit cc1073d

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)