summaryrefslogtreecommitdiffstats
path: root/cmake/modules/template_kdeinit_executable.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/template_kdeinit_executable.cmake')
-rw-r--r--cmake/modules/template_kdeinit_executable.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/template_kdeinit_executable.cmake b/cmake/modules/template_kdeinit_executable.cmake
new file mode 100644
index 000000000..3d480c44e
--- /dev/null
+++ b/cmake/modules/template_kdeinit_executable.cmake
@@ -0,0 +1,2 @@
+extern "C" int kdemain(int argc, char* argv[]);
+int main(int argc, char* argv[]) { return kdemain(argc,argv); }