Files
CMake/Tests/RunCMake/InstallPackageInfo/DependsMultipleDifferentNamespace-stderr.txt
Matthew Woehlke 9d83a1ed1f Tests: Rename certain CPS tests
Rename the RunCMake/PackageInfo and RunCMake/CpsExportImport tests to
indicate that they cover CPS generated by the install command. This
opens space for similar tests that will cover CPS generation via the
export command.
2025-02-25 12:18:13 -05:00

20 lines
966 B
Plaintext

CMake Error in CMakeLists.txt:
install\(EXPORT "bar" ...\) includes target "bar" which requires target "foo"
that is not in this export set, but in another export set which is exported
multiple times with different namespaces: cmake/foo.cmake, cps/foo.cps.
An exported target cannot depend upon another target which is exported in
more than one export set or with more than one namespace. Consider
consolidating the exports of the "foo" target to a single export.
CMake Error in CMakeLists.txt:
install\(PACKAGE_INFO "bar" ...\) includes target "bar" which requires target
"foo" that is not in this export set, but in another export set which is
exported multiple times with different namespaces: cmake/foo.cmake,
cps/foo.cps.
An exported target cannot depend upon another target which is exported in
more than one export set or with more than one namespace. Consider
consolidating the exports of the "foo" target to a single export.