Commit 7d633ebf authored by Nils Gladitz's avatar Nils Gladitz

FindOpenMP: Use fixed form Fortran test program

This prevents the test program from failing when build as Fortran 77.
Suggested-by: default avatarAlin Marin Elena <alinm.elena@gmail.com>
parent 598a3161
......@@ -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
"
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment