[Trilinos-Users] [EXTERNAL] [12.2.1] MueLu linking errors
Andrey Prokopenko
aprokop at sandia.gov
Fri Sep 4 11:08:41 EDT 2015
Oh, I see. That issue was already fixed in the trunk, but that was after
the release you are using.
-Andrey
On 09/04/2015 08:52 AM, Denis Davydov wrote:
> Hi Andrey,
>
> I figured out, I think some dependencies were not declared in CMake.
> The attached patch fixed it for me.
>
> Kind regards,
> Denis
>
>
>
> diff --git a/packages/muelu/adapters/CMakeLists.txt b/packages/muelu/adapters/CMakeLists.txt
> index 0e6810b..dbd3756 100644
> --- a/packages/muelu/adapters/CMakeLists.txt
> +++ b/packages/muelu/adapters/CMakeLists.txt
> @@ -125,7 +125,7 @@ TRIBITS_ADD_LIBRARY(
> muelu-adapters
> HEADERS ${HEADERS}
> SOURCES ${SOURCES}
> -# DEPLIBS muelu muelu-interface
> + DEPLIBS muelu muelu-interface
> ADDED_LIB_TARGET_NAME_OUT MUELU_ADAPTERS_LIBNAME
> )
>
> diff --git a/packages/muelu/src/Interface/CMakeLists.txt b/packages/muelu/src/Interface/CMakeLists.txt
> index 5ea6083..db93429 100644
> --- a/packages/muelu/src/Interface/CMakeLists.txt
> +++ b/packages/muelu/src/Interface/CMakeLists.txt
> @@ -86,6 +86,7 @@ TRIBITS_ADD_LIBRARY(
> muelu-interface
> HEADERS ${HEADERS}
> SOURCES ${SOURCES}
> + DEPLIBS muelu
> )
>
> # for debugging
>
More information about the Trilinos-Users
mailing list