[cmake-commits] alex committed cmTryRunCommand.cxx 1.35 1.36
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jul 30 14:46:59 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv10487
Modified Files:
cmTryRunCommand.cxx
Log Message:
ENH: FORCE the values in the cache, otherwise the file is useless
Alex
Index: cmTryRunCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTryRunCommand.cxx,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- cmTryRunCommand.cxx 26 Jul 2007 12:40:51 -0000 1.35
+++ cmTryRunCommand.cxx 30 Jul 2007 18:46:57 -0000 1.36
@@ -354,13 +354,13 @@
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();
}
More information about the Cmake-commits
mailing list