summaryrefslogtreecommitdiffstats
path: root/qnetchess/cmake/modules/template_tdeinit_module.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qnetchess/cmake/modules/template_tdeinit_module.cmake')
-rw-r--r--qnetchess/cmake/modules/template_tdeinit_module.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/qnetchess/cmake/modules/template_tdeinit_module.cmake b/qnetchess/cmake/modules/template_tdeinit_module.cmake
new file mode 100644
index 00000000..efd89d88
--- /dev/null
+++ b/qnetchess/cmake/modules/template_tdeinit_module.cmake
@@ -0,0 +1,3 @@
+#include <kdemacros.h>
+extern "C" int kdemain(int argc, char* argv[]);
+extern "C" KDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }