Module name between Unix and Windows got switched by mistake.
This commit is contained in:
parent
46aa080edc
commit
8397eb6778
|
@ -204,9 +204,9 @@ bool cmVTKWrapPythonCommand::WriteInit(const char *kitName,
|
|||
/* module init function */
|
||||
fprintf(fout," PyObject *m, *d, *c;\n\n");
|
||||
#ifdef _WIN32
|
||||
fprintf(fout," static char modulename[] = \"lib%s\";\n",kitName);
|
||||
#else
|
||||
fprintf(fout," static char modulename[] = \"%s\";\n",kitName);
|
||||
#else
|
||||
fprintf(fout," static char modulename[] = \"lib%s\";\n",kitName);
|
||||
#endif
|
||||
fprintf(fout," m = Py_InitModule(modulename, Py%s_ClassMethods);\n",
|
||||
kitName);
|
||||
|
|
Loading…
Reference in New Issue