create own module proxies for blas/lapack

This commit is contained in:
Radovan Bast
2015-09-19 15:45:42 +02:00
parent c56e9eaa56
commit 9e32dd790d
8 changed files with 54 additions and 14 deletions

View File

@ -5,8 +5,8 @@ min_cmake_version: 2.8
[fc]
source: ../../../modules/fc.cmake
[math_libs]
source: ../../../modules/math_libs.cmake
[math]
source: ../../../modules/math/lapack.cmake
[default_build_paths]
source: ../../../modules/default_build_paths.cmake

View File

@ -1,6 +1,6 @@
if(LAPACK_FOUND)
add_executable(example example.F90)
target_link_libraries(example ${MATH_LIBS})
add_executable(example example.f90)
target_link_libraries(example ${LAPACK_LIBRARIES})
else()
message(FATAL_ERROR "LAPACK library not found for the test fc_lapack!")
message(FATAL_ERROR "LAPACK library not found")
endif()