summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-16 14:20:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-02-16 14:20:52 (GMT)
commit97132612f63b488e0b8b0913e486083b0e206154 (patch)
tree24eeb38aee3c0db19e365ab4e150ef841f21443e /Source
parent01e6cfc1f19622c76a385e37eabf6b2cd1977e09 (diff)
parent363300ace5e2cf63835d5797be951dbc95b3f55e (diff)
downloadCMake-97132612f63b488e0b8b0913e486083b0e206154.zip
CMake-97132612f63b488e0b8b0913e486083b0e206154.tar.gz
CMake-97132612f63b488e0b8b0913e486083b0e206154.tar.bz2
Merge topic 'cxxmodules-depend-on-modmap-file' into release-3.29
363300ace5 cxxmodules: depend on the modmap contents 940628d48d Tests/CXXModules: test that objects depend on their modmap files 681ee92030 Tests/CXXModules: support testing rebuild conditions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9248
Diffstat (limited to 'Source')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 45ed0ab..d7239f5 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -1639,7 +1639,7 @@ void cmNinjaTargetGenerator::WriteObjectBuildStatement(
// corresponding file path.
std::string ddModmapFile = cmStrCat(objectFileName, ".modmap");
vars["DYNDEP_MODULE_MAP_FILE"] = ddModmapFile;
- objBuild.OrderOnlyDeps.push_back(ddModmapFile);
+ objBuild.ImplicitDeps.push_back(ddModmapFile);
scanningFiles.ModuleMapFile = std::move(ddModmapFile);
}