Merge topic 'fix-openmp-fortran'
7d633ebf
FindOpenMP: Use fixed form Fortran test program
This commit is contained in:
commit
0ff35425d7
|
@ -111,11 +111,11 @@ int main() {
|
|||
# same in Fortran
|
||||
set(OpenMP_Fortran_TEST_SOURCE
|
||||
"
|
||||
program test
|
||||
use omp_lib
|
||||
integer :: n
|
||||
n = omp_get_num_threads()
|
||||
end program test
|
||||
program test
|
||||
use omp_lib
|
||||
integer :: n
|
||||
n = omp_get_num_threads()
|
||||
end program test
|
||||
"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue