summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/run_translator.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/run_translator.cmake b/cmake/run_translator.cmake
new file mode 100644
index 0000000..d9bbfb7
--- /dev/null
+++ b/cmake/run_translator.cmake
@@ -0,0 +1,5 @@
+include(../cmake/version.cmake)
+find_program(PYTHON NAMES python)
+execute_process(
+ COMMAND ${PYTHON} ${CMAKE_SOURCE_DIR}/translator.py
+)