Files
CMake/Tests/RunCMake/export/DependOnDifferentNamespaceExport-stderr.txt
Matthew Woehlke 26691689a3 export: Allow compatible build-tree exports
Modify how cmExportBuildFileGenerator::FindExportInfo collects target
export information to properly record the export sets which export a
target. (The old behavior treated every invocation as a separate set,
which is reasonable for export(TARGETS) but does not allow referencing a
target exported multiple times via export(EXPORT). This reflects recent
changes to allow this for installed exports.)
2025-02-24 14:54:50 -05:00

14 lines
702 B
Plaintext

CMake Error in CMakeLists.txt:
export called with target "exported" which requires target "doubleexported"
that is not in this export set, but in another export set which is exported
multiple times with different namespaces:.*
.*/Tests/RunCMake/export/DependOnDifferentNamespaceExport-build/export1.cmake,.*
.*/Tests/RunCMake/export/DependOnDifferentNamespaceExport-build/export2.cmake.
+
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 "doubleexported" target to a single
export.
+
CMake Generate step failed. Build files cannot be regenerated correctly.