summaryrefslogtreecommitdiffstats
path: root/Source/cmUseMangledMesaCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-01-24 18:40:31 (GMT)
committerBrad King <brad.king@kitware.com>2007-01-24 18:40:31 (GMT)
commit03a46e03810ea22c357033bd83508c47766592d6 (patch)
treeac5e24178e4573c7f863e2c369ca2e2e6455ab11 /Source/cmUseMangledMesaCommand.h
parent1d34e22c96f4c242d801bfc5747197734eb184ea (diff)
downloadCMake-03a46e03810ea22c357033bd83508c47766592d6.zip
CMake-03a46e03810ea22c357033bd83508c47766592d6.tar.gz
CMake-03a46e03810ea22c357033bd83508c47766592d6.tar.bz2
ENH: Patch from Alex to document this command as discouraged.
Diffstat (limited to 'Source/cmUseMangledMesaCommand.h')
-rw-r--r--Source/cmUseMangledMesaCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmUseMangledMesaCommand.h b/Source/cmUseMangledMesaCommand.h
index 4fb68fa..46aa100 100644
--- a/Source/cmUseMangledMesaCommand.h
+++ b/Source/cmUseMangledMesaCommand.h
@@ -72,6 +72,12 @@ public:
"being added to the include directory path earlier.";
}
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
protected:
void CopyAndFullPathMesaHeader(const char* source,
const char* outdir);