summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-09-02 16:43:45 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-09-02 16:43:45 (GMT)
commitd797592726a48b0bbb555eeccf627481af548a76 (patch)
tree2aaf011a915a5b3532bde354879aac714c5b4b46 /Source
parentf89dae7a9473a05ecd2ccbfe409b6f33523da603 (diff)
downloadCMake-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')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
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());
}