diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-08-19 18:18:08 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2019-08-20 14:15:03 (GMT) |
commit | d17580909f5c3bec2939b75549b7192500b8942d (patch) | |
tree | 71c5e1bfbf226dd71832b896a71b989ab88c6533 /Tests | |
parent | a18100898ae5188883acab295179c6758e84f496 (diff) | |
download | CMake-d17580909f5c3bec2939b75549b7192500b8942d.zip CMake-d17580909f5c3bec2939b75549b7192500b8942d.tar.gz CMake-d17580909f5c3bec2939b75549b7192500b8942d.tar.bz2 |
cmExportInstallFileGenerator: improve error message
Following commit 49cfd390 (cmExportBuildFileGenerator: improve error
message, 2019-06-26), improve the error message related to installed
export sets by referencing the files which contain the exported target
ambiguously.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/ObjectLibrary/InstallLinkedObj1-stderr.txt | 2 | ||||
-rw-r--r-- | Tests/RunCMake/target_link_libraries/StaticPrivateDepNotExported-stderr.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/InstallLinkedObj1-stderr.txt b/Tests/RunCMake/ObjectLibrary/InstallLinkedObj1-stderr.txt index f2f0f94..c663707 100644 --- a/Tests/RunCMake/ObjectLibrary/InstallLinkedObj1-stderr.txt +++ b/Tests/RunCMake/ObjectLibrary/InstallLinkedObj1-stderr.txt @@ -1 +1 @@ -CMake Error: install\(EXPORT "exp" ...\) includes target "UseA" which requires target "A" that is not in the export set. +CMake Error: install\(EXPORT "exp" ...\) includes target "UseA" which requires target "A" that is not in any export set. diff --git a/Tests/RunCMake/target_link_libraries/StaticPrivateDepNotExported-stderr.txt b/Tests/RunCMake/target_link_libraries/StaticPrivateDepNotExported-stderr.txt index 6bb44ab..3204225 100644 --- a/Tests/RunCMake/target_link_libraries/StaticPrivateDepNotExported-stderr.txt +++ b/Tests/RunCMake/target_link_libraries/StaticPrivateDepNotExported-stderr.txt @@ -1 +1 @@ -CMake Error: install\(EXPORT "Exp" ...\) includes target "foo" which requires target "not_exported" that is not in the export set. +CMake Error: install\(EXPORT "Exp" ...\) includes target "foo" which requires target "not_exported" that is not in any export set. |