autocmake/test/fc_lapack/src/CMakeLists.txt
2015-09-19 15:47:17 +02:00

7 lines
179 B
CMake

if(LAPACK_FOUND)
add_executable(example example.f90)
target_link_libraries(example ${LAPACK_LIBRARIES})
else()
message(FATAL_ERROR "LAPACK library not found")
endif()