Merge topic 'fix-openmp-fortran'

7d633ebf FindOpenMP: Use fixed form Fortran test program
This commit is contained in:
Brad King 2014-11-25 10:18:33 -05:00 committed by CMake Topic Stage
commit 0ff35425d7
1 changed files with 5 additions and 5 deletions

View File

@ -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
"
)