summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileLibraryTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-14 17:30:48 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-03-14 17:31:10 (GMT)
commite497fbfca39f2b845596500e521d5d66bf2e9a30 (patch)
tree0de0c17ed8758b7298923fe44f5ccd69b7bfd26f /Source/cmMakefileLibraryTargetGenerator.cxx
parent3e90c8873370cdff333715d1d832788d47f9b5ef (diff)
parentbcc26ce465d868edb5ca551c0a1e734740afb58d (diff)
downloadCMake-e497fbfca39f2b845596500e521d5d66bf2e9a30.zip
CMake-e497fbfca39f2b845596500e521d5d66bf2e9a30.tar.gz
CMake-e497fbfca39f2b845596500e521d5d66bf2e9a30.tar.bz2
Merge topic 'Apple-TBD-in-subdirecory' into release-3.29
bcc26ce465 Apple Text Based Stubs: should be usage in subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9341
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index bc48a3b..481c52d 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -978,6 +978,9 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
auto genStubsRule =
this->Makefile->GetDefinition("CMAKE_CREATE_TEXT_STUBS");
cmList genStubs_commands{ genStubsRule };
+ this->LocalGenerator->CreateCDCommand(
+ genStubs_commands, this->Makefile->GetCurrentBinaryDirectory(),
+ this->LocalGenerator->GetBinaryDirectory());
std::string TBDFullPath =
cmStrCat(outpathImp, this->TargetNames.ImportOutput);