Skip to content

Determining correct order of Trilinos libraries in link line #13054

Answered by bartlettroscoe
jhux2 asked this question in Q&A
Discussion options

You must be logged in to vote

Currently the only supported approach is to have downstream apps use CMake and pull in Trilinos pacakges with find_package(<PackageName>) and then link to target_link_libraries(<yourLibOrExec> PRIVATE <PackageName>::all_libs ...). This was one of the consequences of moving to modern CMake. See the discussion of this in TriBITSPub/TriBITS#299 starting around TriBITSPub/TriBITS#299 (comment) (and see Kitware's view on this in TriBITSPub/TriBITS#299 (comment)).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jhux2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants