[Dune-devel] [Dune-Commit] [Commit] dune-istl - ae1cc4f: [CMake] Adjust find SuperLU script modifies ALL_PKG_LIBS property
Markus Blatt
markus at dr-blatt.de
Tue Dec 16 15:14:03 CET 2014
Hi,
On Tue, Dec 16, 2014 at 02:51:33PM +0100, Christoph GrĂ¼ninger wrote:
>
> commit ae1cc4f56c999c8d17cb3c9d2b885706ef56a6cb
> Author: Christoph GrĂ¼ninger <gruenich at dune-project.org>
> Date: Tue Dec 16 14:51:06 2014 +0100
>
> [CMake] Adjust find SuperLU script modifies ALL_PKG_LIBS property
>
> cmake/modules/FindSuperLU.cmake | 2 ++
> 1 file changed, 2 insertions(+)
>
>
>
> diff --git a/cmake/modules/FindSuperLU.cmake b/cmake/modules/FindSuperLU.cmake
> index 28f4e45..4c96e4a 100644
> --- a/cmake/modules/FindSuperLU.cmake
> +++ b/cmake/modules/FindSuperLU.cmake
> @@ -139,4 +139,6 @@ if(SUPERLU_FOUND)
> foreach(dir ${SUPERLU_INCLUDE_DIRS})
> set_property(GLOBAL APPEND PROPERTY ALL_PKG_FLAGS "-I${dir}")
> endforeach()
> + set_property(GLOBAL APPEND PROPERTY
> + ALL_PKG_LIBS "${SUPERLU_DUNE_LIBRARIES}")
> endif()
>
Aren't the libraries ending up in the wrong order here:
package dune-a depends on package b, then we first search for b
and then for dune-a which results in -lb -ldunea. That will not work
with static linkage.
Markus
--
Do you need more support with DUNE or HPC in general?
Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20141216/9bf90cf6/attachment.sig>
More information about the Dune-devel
mailing list