diff options
author | David Cole <david.cole@kitware.com> | 2008-09-02 16:43:45 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-09-02 16:43:45 (GMT) |
commit | d797592726a48b0bbb555eeccf627481af548a76 (patch) | |
tree | 2aaf011a915a5b3532bde354879aac714c5b4b46 /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | f89dae7a9473a05ecd2ccbfe409b6f33523da603 (diff) | |
download | CMake-d797592726a48b0bbb555eeccf627481af548a76.zip CMake-d797592726a48b0bbb555eeccf627481af548a76.tar.gz CMake-d797592726a48b0bbb555eeccf627481af548a76.tar.bz2 |
BUG: Fix issue #3648 - make sure CMake reruns if a Bundle application's directory is removed or if it's Info.plist file disappears since those elements are put in place at CMake configure time.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 29be46c..ed7e7bc 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -504,6 +504,7 @@ cmMakefileExecutableTargetGenerator::CreateAppBundle(std::string& targetName, outpath += "MacOS"; cmSystemTools::MakeDirectory(outpath.c_str()); outpath += "/"; + this->Makefile->AddCMakeDependFile(outpath.c_str()); // Configure the Info.plist file. Note that it needs the executable name // to be set. @@ -511,4 +512,5 @@ cmMakefileExecutableTargetGenerator::CreateAppBundle(std::string& targetName, this->LocalGenerator->GenerateAppleInfoPList(this->Target, targetName.c_str(), plist.c_str()); + this->Makefile->AddCMakeDependFile(plist.c_str()); } |