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

[Merge][CMake] Merged revisions : 6644

Revision  r6644
.----------------------
Make library dunecommon link to lapack directly. Now lapack does not
have to specified during linking because it is implied by dunecommon.

.----------------------


[[Imported from SVN: r7181]]
parents 89879b51 61efe77b
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,8 @@ add_library("dunecommon"
parametertreeparser.cc
path.cc
stdstreams.cc)
target_link_libraries("dunecommon" ${LAPACK_LIBRARIES})
install(TARGETS dunecommon EXPORT dune-common-targets DESTINATION lib)
install(EXPORT dune-common-targets
DESTINATION lib/cmake)
......
......@@ -102,8 +102,7 @@ target_link_libraries("float_cmp" "dunecommon")
# 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})
target_link_libraries("fmatrixtest" "dunecommon")
add_executable("fvectortest" fvectortest.cc)
add_executable("gcdlcmtest" gcdlcmtest.cc)
add_executable("genericiterator_compile_fail" EXCLUDE_FROM_ALL genericiterator_compile_fail.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