Commit 0933e9c1 authored by AlmAck's avatar AlmAck

port translation build to Qt5

parent 3f3c0e54
......@@ -8,10 +8,12 @@ ENDIF(NOT PO2TS_EXECUTABLE)
FIND_PROGRAM(QT_LRELEASE_EXECUTABLE
NAMES lrelease
PATHS ${QT_BINARY_DIR}
/usr/local/bin
/usr/bin/
NO_DEFAULT_PATH
)
IF(NOT QT_LRELEASE_EXECUTABLE)
MESSAGE(FATAL_ERROR "Qt4 lrelease not found. Make sure that it has been built and installed by the Qt4 package.")
MESSAGE(FATAL_ERROR "Qt5 lrelease not found. Make sure that it has been built and installed by the Qt5 package.")
ENDIF(NOT QT_LRELEASE_EXECUTABLE)
......@@ -61,4 +63,4 @@ ADD_CUSTOM_TARGET(translations ALL DEPENDS ${QM_FILES})
INSTALL(CODE "MESSAGE(\"Installing Akabei i18n files...\")")
INSTALL(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/akabe/translations)
INSTALL(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/akabei/translations)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment