summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-30 18:46:57 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-30 18:46:57 (GMT)
commita9d19d884ebdfe45d50a47537d81f3b5cd1792c9 (patch)
treec0275ab26c68023d2ee1710d95da0af625144eca /Source/cmTryRunCommand.cxx
parente9b3ae3d11be43f1224213c96a2479bc88214700 (diff)
downloadCMake-a9d19d884ebdfe45d50a47537d81f3b5cd1792c9.zip
CMake-a9d19d884ebdfe45d50a47537d81f3b5cd1792c9.tar.gz
CMake-a9d19d884ebdfe45d50a47537d81f3b5cd1792c9.tar.bz2
ENH: FORCE the values in the cache, otherwise the file is useless
Alex
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index cbd2cd4..6beeb3d 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -354,13 +354,13 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
file << "SET( " << this->RunResultVariable << " \n \""
<< this->Makefile->GetDefinition(this->RunResultVariable.c_str())
- << "\"\n CACHE STRING \"Result from TRY_RUN\" )\n\n";
+ << "\"\n CACHE STRING \"Result from TRY_RUN\" FORCE)\n\n";
if (out!=0)
{
file << "SET( " << internalRunOutputName << " \n \""
<< this->Makefile->GetDefinition(internalRunOutputName.c_str())
- << "\"\n CACHE STRING \"Output from TRY_RUN\" )\n\n";
+ << "\"\n CACHE STRING \"Output from TRY_RUN\" FORCE)\n\n";
}
file.close();
}