summaryrefslogtreecommitdiffstats
path: root/Source/cmExportBuildFileGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExportBuildFileGenerator.cxx')
-rw-r--r--Source/cmExportBuildFileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportBuildFileGenerator.cxx b/Source/cmExportBuildFileGenerator.cxx
index 1a22445..081e01d 100644
--- a/Source/cmExportBuildFileGenerator.cxx
+++ b/Source/cmExportBuildFileGenerator.cxx
@@ -571,8 +571,8 @@ bool cmExportBuildFileGenerator::GenerateImportCxxModuleConfigTargetInclusion(
continue;
}
- os << "include(\"${CMAKE_CURRENT_LIST_DIR}/target-" << tgt->GetExportName()
- << '-' << config << ".cmake\")\n";
+ os << "include(\"${CMAKE_CURRENT_LIST_DIR}/target-"
+ << tgt->GetFilesystemExportName() << '-' << config << ".cmake\")\n";
}
return true;