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

[Merge][CMake] Merged revisions : 6601

Revision  r6601
.----------------------
force linking to fortran libs (needed for static linking)
.----------------------


[[Imported from SVN: r7147]]
parents 51f24bdb 63cb4ee2
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