[Trilinos-Announce] Trilinos transition to modern CMake IMPORTED targets

Bartlett, Roscoe A rabartl at sandia.gov
Tue Jun 14 11:34:30 MST 2022

Hello Trilinos users and developers,

If your CMake project does not use find_package(Trilinos), please ignore this email.  Otherwise ...

FYI: A change to the Trilinos CMake build system transitioning to the usage of modern CMake targets is soon to be merged to the Trilinos 'develop' branch.  The Pull Request with this upgraded Trilinos CMake build system is:


This change breaks backward compatibility in a few ways that will break some existing downstream CMake projects that pull in Trilinos using find_package(Trilinos).   However, many existing customer CMake projects will not break and almost every existing configure script for Trilinos should continue to work with no changes in behavior (i.e., it will find the same compilers, MPI, and the same external packages/TPLs in the same way).   NOTE: It is not possible to move to clean modern CMake targets and keep prefect backward compatibility (but a lot of effort was expended to minimize breaks in backward compatibility and avoid confusing errors).

This is your opportunity to test out these Trilinos CMake changes in your project and provide feedback before they are merged into the Trilinos 'develop' branch.  If you want to test your downstream CMake project against these changes, please let me know ASAP.  Otherwise, we plan to merge these changes the beginning of next week.

The release notes summarizing these changes for Trilinos CMake customers are given in the "Trilinos 14.0" section in:


Detailed finer-grained changes to the TriBITS CMake build system that will impact CMake projects directly using TriBITS as well are described in all of the entries after 2021-06-17 listed in:


Tips on using the new modern CMake targets are given in:


If you have any questions or concerns, please let me know,


Dr. Roscoe A. Bartlett, PhD
Sandia National Laboratories

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trilinos.org/pipermail/trilinos-announce_trilinos.org/attachments/20220614/420a549f/attachment.html>

More information about the Trilinos-Announce mailing list