mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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.)
14 lines
702 B
Plaintext
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.
|