summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeHostSystemInformationCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCMakeHostSystemInformationCommand.h')
-rw-r--r--Source/cmCMakeHostSystemInformationCommand.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmCMakeHostSystemInformationCommand.h b/Source/cmCMakeHostSystemInformationCommand.h
index 4ab6aa1..22f3d54 100644
--- a/Source/cmCMakeHostSystemInformationCommand.h
+++ b/Source/cmCMakeHostSystemInformationCommand.h
@@ -3,9 +3,17 @@
#ifndef cmCMakeHostSystemInformationCommand_h
#define cmCMakeHostSystemInformationCommand_h
+#include <cmConfigure.h>
+#include <stddef.h>
+#include <string>
+#include <vector>
+
#include "cmCommand.h"
-#include <cmsys/SystemInformation.hxx>
+class cmExecutionStatus;
+namespace cmsys {
+class SystemInformation;
+} // namespace cmsys
/** \class cmCMakeHostSystemInformationCommand
* \brief Query host system specific information
@@ -44,8 +52,6 @@ public:
return "cmake_host_system_information";
}
- cmTypeMacro(cmCMakeHostSystemInformationCommand, cmCommand);
-
private:
bool GetValue(cmsys::SystemInformation& info, std::string const& key,
std::string& value);