mirror of
https://github.com/reactos/CMake.git
synced 2025-01-18 17:35:03 +00:00
FindOpenMP: Use fixed form Fortran test program
This prevents the test program from failing when build as Fortran 77. Suggested-by: Alin Marin Elena <alinm.elena@gmail.com>
This commit is contained in:
parent
598a316154
commit
7d633ebfa0
@ -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…
x
Reference in New Issue
Block a user