Export: Fix typo of LINK_INTERFACE_LIBRARIES.
Refer correctly to the old property, not the new one.
This commit is contained in:
parent
79a7a81327
commit
ff3d5fae5d
|
@ -636,7 +636,7 @@ cmExportFileGenerator
|
||||||
cmMakefile *mf = target->GetMakefile();
|
cmMakefile *mf = target->GetMakefile();
|
||||||
cmOStringStream e;
|
cmOStringStream e;
|
||||||
e << "Target \"" << target->GetName() << "\" has policy CMP0022 enabled, "
|
e << "Target \"" << target->GetName() << "\" has policy CMP0022 enabled, "
|
||||||
"but also has old-style INTERFACE_LINK_LIBRARIES properties "
|
"but also has old-style LINK_INTERFACE_LIBRARIES properties "
|
||||||
"populated, but it was exported without the "
|
"populated, but it was exported without the "
|
||||||
"EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties";
|
"EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties";
|
||||||
mf->IssueMessage(cmake::FATAL_ERROR, e.str());
|
mf->IssueMessage(cmake::FATAL_ERROR, e.str());
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CMake Error at CMP0022-export.cmake:11 \(export\):
|
CMake Error at CMP0022-export.cmake:11 \(export\):
|
||||||
Target "cmp0022NEW" has policy CMP0022 enabled, but also has old-style
|
Target "cmp0022NEW" has policy CMP0022 enabled, but also has old-style
|
||||||
INTERFACE_LINK_LIBRARIES properties populated, but it was exported without
|
LINK_INTERFACE_LIBRARIES properties populated, but it was exported without
|
||||||
the EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties
|
the EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
CMake Error in CMakeLists.txt:
|
CMake Error in CMakeLists.txt:
|
||||||
Target "cmp0022NEW" has policy CMP0022 enabled, but also has old-style
|
Target "cmp0022NEW" has policy CMP0022 enabled, but also has old-style
|
||||||
INTERFACE_LINK_LIBRARIES properties populated, but it was exported without
|
LINK_INTERFACE_LIBRARIES properties populated, but it was exported without
|
||||||
the EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties
|
the EXPORT_LINK_INTERFACE_LIBRARIES to export the old-style properties
|
||||||
|
|
Loading…
Reference in New Issue