diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2024-03-14 13:33:48 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2024-03-14 13:33:48 (GMT) |
commit | bcc26ce465d868edb5ca551c0a1e734740afb58d (patch) | |
tree | 47839895a31d420caf574847a3b23709a11d506e /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 886333da388c6c66d3073d73665118c55f693eaf (diff) | |
download | CMake-bcc26ce465d868edb5ca551c0a1e734740afb58d.zip CMake-bcc26ce465d868edb5ca551c0a1e734740afb58d.tar.gz CMake-bcc26ce465d868edb5ca551c0a1e734740afb58d.tar.bz2 |
Apple Text Based Stubs: should be usage in subdirectories
Fixes: #25765
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 3 |
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); |