Skip to content
Snippets Groups Projects
Commit 63cb4ee2 authored by Markus Blatt's avatar Markus Blatt
Browse files

force linking to fortran libs (needed for static linking)

[[Imported from SVN: r6601]]
parent 6c64df05
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,9 @@ add_executable("enumsettest" enumsettest.cc)
add_executable("fassigntest" fassigntest.cc)
target_link_libraries("fassigntest" "dunecommon")
add_executable("fmatrixtest" fmatrixtest.cc)
# we provide an empty fortran file to force the linker
# to link to the fortran libraries (needed for static linking)
add_executable("fmatrixtest" fmatrixtest.cc dummy.f)
target_link_libraries("fmatrixtest" "dunecommon" ${LAPACK_LIBRARIES})
add_executable("fvectortest" fvectortest.cc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment