diff options
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); |