X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2FCreateLayoutTranslations.cmake;h=1987f412d3b2ad067bb0527b54a23712166327d8;hb=6012beb90eb88011d1213c9ae38c4a77d711737e;hp=9f3d533e1195695b92e8a58d32dd22d1029a6d49;hpb=6743c6fa87ec1604d908378b576545f17038fa15;p=lyx.git diff --git a/po/CreateLayoutTranslations.cmake b/po/CreateLayoutTranslations.cmake index 9f3d533e11..1987f412d3 100644 --- a/po/CreateLayoutTranslations.cmake +++ b/po/CreateLayoutTranslations.cmake @@ -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")