summaryrefslogtreecommitdiffstats
path: root/Source/cmLoadCommandCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLoadCommandCommand.cxx')
-rw-r--r--Source/cmLoadCommandCommand.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx
index d026c7e..2c589dd 100644
--- a/Source/cmLoadCommandCommand.cxx
+++ b/Source/cmLoadCommandCommand.cxx
@@ -15,16 +15,18 @@
=========================================================================*/
#include "cmLoadCommandCommand.h"
-#include "cmDynamicLoader.h"
#include "cmCPluginAPI.h"
-
+#include "cmCPluginAPI.cxx"
+#include "cmDynamicLoader.h"
// a class for loadabple commands
class cmLoadedCommand : public cmCommand
{
public:
cmLoadedCommand() {
- memset(&this->info,0,sizeof(this->info)); }
+ memset(&this->info,0,sizeof(this->info));
+ this->info.CAPI = &cmStaticCAPI;
+ }
/**
* This is a virtual constructor for the command.