diff options
author | Brad King <brad.king@kitware.com> | 2014-11-20 14:00:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-20 14:00:33 (GMT) |
commit | 64678cbc0a27344a593221e4024388569d4846d1 (patch) | |
tree | 6977b2716124a5162ab40ecd8d0fbb94016f5e1f | |
parent | b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689 (diff) | |
parent | 7d633ebfa016e942261c94c10ca86ef46132ab5e (diff) | |
download | CMake-64678cbc0a27344a593221e4024388569d4846d1.zip CMake-64678cbc0a27344a593221e4024388569d4846d1.tar.gz CMake-64678cbc0a27344a593221e4024388569d4846d1.tar.bz2 |
Merge branch 'fix-openmp-fortran' into release
-rw-r--r-- | Modules/FindOpenMP.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index 801b4f8..a102c66 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -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 " ) |