X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=po%2FCreateLayoutTranslations.cmake;h=1eff48a734f54e6057bc10f656af2a78e0a22aed;hb=7ad9e2ab49244810917da75d78ba922c51abc8f4;hp=1987f412d3b2ad067bb0527b54a23712166327d8;hpb=cbd4e332f7aa16590a6ecffa9908d0afde2c90b3;p=lyx.git diff --git a/po/CreateLayoutTranslations.cmake b/po/CreateLayoutTranslations.cmake index 1987f412d3..1eff48a734 100644 --- a/po/CreateLayoutTranslations.cmake +++ b/po/CreateLayoutTranslations.cmake @@ -34,7 +34,11 @@ die_if(_err "Copy of layouttranslations failed") execute_process(COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_SRC_DIR}/po/lyx_pot.py" -b "${TOP_SRC_DIR}" -o "${_dst}" -t ${type} "--src_file=${_src_files}" + OUTPUT_VARIABLE _err_out RESULT_VARIABLE _err) +if(_err) + message(STATUS "${_err_out}") +endif() die_if(_err "Calling lyx_pot.py failed") execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different "${_dst}" "${TOP_SRC_DIR}/lib/layouttranslations"