Skip to content

Commit 40ef3ce

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents c5c13c6 + 9f743a8 commit 40ef3ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

cmake/modules/SingleMultiSource.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ function(llvm_singlesource)
3333
if(DEFINED Source)
3434
set(sources ${Source})
3535
else()
36-
file(GLOB sources *.c *.cpp *.cc *.f *.F *.f90 *.F90 *.f03 *.F03 *.f08 *.F08)
36+
file(GLOB sources
37+
*.c *.cpp *.cc
38+
*.for *.FOR *.fpp *.FPP *.[fF] *.[fF]90 *.[fF]95 *.[fF]03 *.[fF]08)
3739
endif()
3840
foreach(source ${sources})
3941
basename(name ${source})
@@ -51,7 +53,9 @@ endfunction()
5153
function(llvm_multisource target)
5254
set(sources ${ARGN})
5355
if(NOT sources)
54-
file(GLOB sources *.c *.cpp *.cc *.f *.F *.f90 *.F90 *.f03 *.F03 *.f08 *.F08)
56+
file(GLOB sources
57+
*.c *.cpp *.cc
58+
*.for *.FOR *.fpp *.FPP *.[fF] *.[fF]90 *.[fF]95 *.[fF]03 *.[fF]08)
5559
endif()
5660

5761
llvm_test_executable_no_test(${target} ${sources})

0 commit comments

Comments
 (0)