forked from TriBITSPub/TriBITS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move <tplName>Config[Version].cmake files to external_packages/ dir (T…
…riBITSPub#299, TriBITSPub#427) This has two benefits: * It makes a distinction between <Package>Config.cmake files that are unique and created by the CMake project (and are put in <buildDir>/cmake_packages/ on installed under <installDir>/lib/cmake/) and those <tplName>Config.cmake files that are created by TriBITS to create standard targets needed to be used by downstream TriBITS projects. * It avoids find_package() from accidentally finding these TriBITS-generated <tplName>Config.cmake files in all contexts when <buildDir>/cmake_packages and <installDir> are added to CMAKE_PREFIX_PATH. This way, for example, downstream customer raw CMake projects will not accidentally find the TriBITS-generated HDF5Config.cmake when the Trilinos install dir is added to CMAKE_PREFIX_PATH. NOTE: This change is not needed to make the test TribitsExampleProject2_install_config_again pass due to commit: Write out <tplName>ConfigVersion.cmake and disallow finding <tplName>Config.cmake (TriBITSPub#299, TriBITSPub#427) but this makes it even more robust to not find these <tplName>Config.cmake files by accident.
- Loading branch information
1 parent
8779829
commit 1507920
Showing
5 changed files
with
32 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters