create own module proxies for blas/lapack
This commit is contained in:
@ -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
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user