]> git.lyx.org Git - lyx.git/blobdiff - po/CreateLayoutTranslations.cmake
Update ru.po
[lyx.git] / po / CreateLayoutTranslations.cmake
index 9f3d533e1195695b92e8a58d32dd22d1029a6d49..1987f412d3b2ad067bb0527b54a23712166327d8 100644 (file)
@@ -9,6 +9,7 @@
 #       -DLYX_PYTHON_EXECUTABLE=xxx \
 #       -DParType=xxx \
 #       -DSources=xxx \
+#       -DLYX_PY_POLIB=${LYX_PY_POLIB} \
 #       -P "${TOP_SRC_DIR}/po/CreateLayoutTranslations.cmake"
 
 set(_dst ${DestFile})
@@ -23,6 +24,9 @@ macro(die_if _err text)
 endmacro()
 
 message(STATUS "Starting CreateLayoutTranslations")
+if ("${LYX_PY_POLIB}" STREQUAL "")
+  message(STATUS "Missing needed pythons polib, be prepared for error")
+endif()
 execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${TOP_SRC_DIR}/lib/layouttranslations" "${_dst}"
   RESULT_VARIABLE _err)
 die_if(_err "Copy of layouttranslations failed")