dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19429
Re: Repeated libraries when linking
On Mon, Aug 30, 2010 at 8:13 AM, Anders Logg <logg@xxxxxxxxx> wrote:
> On Sun, Aug 29, 2010 at 11:15:03PM +0100, Garth N. Wells wrote:
>> Does anyone know why libraries appear multiple times with CMake when
>> linking? For example, all the Trilinos libs appear twice (despite
>> only appearing once in dofin-config.cmake)?
>>
>> Garth
>
> No idea, but I've also seen this.
What about using
list(REMOVE_DUPLICATES <list>)
on DOLFIN_TARGET_LINK_LIBRARIES and the other DOLFIN_INCLUDE_DIRECTORIES?
Johannes
Follow ups
References