autocmake/test/fc_lapack/src/CMakeLists.txt

7 lines
196 B
CMake

if(LAPACK_FOUND)
add_executable(example example.F90)
target_link_libraries(example ${MATH_LIBS})
else()
message(FATAL_ERROR "LAPACK library not found for the test fc_lapack!")
endif()