summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-05-01 13:29:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-05-01 13:29:55 (GMT)
commit4bf49bc43764f33d135abf298812cf9e6531802d (patch)
treea33a1adef808f17d7c8d6a2647a12d6cc47d71e8 /Source/cmExportInstallFileGenerator.cxx
parent52f1aa10f8d946bbe20903d4878583cd27c271eb (diff)
parent142a85f9c17ae8266168eb8eb2e1c9dfb76f876e (diff)
downloadCMake-4bf49bc43764f33d135abf298812cf9e6531802d.zip
CMake-4bf49bc43764f33d135abf298812cf9e6531802d.tar.gz
CMake-4bf49bc43764f33d135abf298812cf9e6531802d.tar.bz2
Merge topic 'export-name-safe-name' into release-3.29
142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9474
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index c5b9dc9..5c95ecd 100644
--- a/Source/cmExportInstallFileGenerator.cxx
+++ b/Source/cmExportInstallFileGenerator.cxx
@@ -780,8 +780,8 @@ bool cmExportInstallFileGenerator::
continue;
}
- auto prop_filename = cmStrCat("target-", tgt->GetExportName(), '-',
- filename_config, ".cmake");
+ auto prop_filename = cmStrCat("target-", tgt->GetFilesystemExportName(),
+ '-', filename_config, ".cmake");
prop_files.emplace_back(cmStrCat(dest, prop_filename));
os << "include(\"${CMAKE_CURRENT_LIST_DIR}/" << prop_filename << "\")\n";
}