summaryrefslogtreecommitdiffstats
path: root/Source/cmFindProgramCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-02-26 17:07:53 (GMT)
committerBrad King <brad.king@kitware.com>2001-02-26 17:07:53 (GMT)
commit463e466be3efaada0c64beb120b98432e643e480 (patch)
tree46d1c660e37b4617bdab432c2abbea5fb699509f /Source/cmFindProgramCommand.h
parentd31ce244136205bc006967090ddd4d6fdde5b3cb (diff)
downloadCMake-463e466be3efaada0c64beb120b98432e643e480.zip
CMake-463e466be3efaada0c64beb120b98432e643e480.tar.gz
CMake-463e466be3efaada0c64beb120b98432e643e480.tar.bz2
ENH: Added safe downcast support (without RTTI) to cmCommand and its subclasses.
Diffstat (limited to 'Source/cmFindProgramCommand.h')
-rw-r--r--Source/cmFindProgramCommand.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindProgramCommand.h b/Source/cmFindProgramCommand.h
index 8aa7ee9..4b6d58c 100644
--- a/Source/cmFindProgramCommand.h
+++ b/Source/cmFindProgramCommand.h
@@ -71,6 +71,8 @@ public:
return
"FIND_PROGRAM(NAME executable1 executable2 ...)";
}
+
+ cmTypeMacro(cmFindProgramCommand, cmCommand);
};