Skip to content
Snippets Groups Projects
Commit 030b4cf7 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[CMake] Link libdunecommon only to LAPACK, if the former is present.

[[Imported from SVN: r6747]]
parent 7d4ec745
Branches
Tags
No related merge requests found
......@@ -10,7 +10,9 @@ dune_add_library("dunecommon"
parametertreeparser.cc
path.cc
stdstreams.cc)
dune_target_link_libraries("dunecommon" ${LAPACK_LIBRARIES})
if(${LAPACK_LIBRARIES})
dune_target_link_libraries("dunecommon" ${LAPACK_LIBRARIES})
endif(${LAPACK_LIBRARIES})
#install headers
install(FILES
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment