diff options
author | 2008-07-12 21:54:02 +0000 | |
---|---|---|
committer | 2008-07-12 21:54:02 +0000 | |
commit | 10c4e36b39f96a40558ffde48d0f698be8ef7433 (patch) | |
tree | fc285c056a3196c15ca2c6b6a53deb5cc5314435 /bench/btl/libs/f77/CMakeLists.txt | |
parent | ed6e07b2f6d91fa34253f97d13049d7cbabf6a34 (diff) |
disable MKL check and fortran for cmake <2.6
Diffstat (limited to 'bench/btl/libs/f77/CMakeLists.txt')
-rw-r--r-- | bench/btl/libs/f77/CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bench/btl/libs/f77/CMakeLists.txt b/bench/btl/libs/f77/CMakeLists.txt index 03d0c6167..4a6c33b0a 100644 --- a/bench/btl/libs/f77/CMakeLists.txt +++ b/bench/btl/libs/f77/CMakeLists.txt @@ -1,3 +1,4 @@ - -enable_language(Fortran) -btl_add_bench(btl_f77 main.cpp dmxv.f smxv.f dmxm.f smxm.f daxpy.f saxpy.f data.f sata.f daat.f saat.f) +if(CMAKE_MINOR_VERSION GREATER 4) + enable_language(Fortran) + btl_add_bench(btl_f77 main.cpp dmxv.f smxv.f dmxm.f smxm.f daxpy.f saxpy.f data.f sata.f daat.f saat.f) +endif(CMAKE_MINOR_VERSION GREATER 4)
\ No newline at end of file |