Skip to content

Commit

Permalink
Fix lang files build
Browse files Browse the repository at this point in the history
  • Loading branch information
anonbeat committed Jan 8, 2017
1 parent 3c94f18 commit 9fec4f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions po/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ MACRO(GETTEXT_PROCESS_POFILE _lang _moFile _poFile )
GET_FILENAME_COMPONENT(_absFile ${_poFile} ABSOLUTE)
ADD_CUSTOM_COMMAND(
OUTPUT ${_relmoFile}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${CMAKE_CURRENT_BINARY_DIR}${_relmoFile} ${_absFile}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${CMAKE_CURRENT_BINARY_DIR}/${_relmoFile} ${_absFile}
DEPENDS ${_absFile}
)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}${_relmoFile} DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES )
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${_relmoFile} DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES )
ADD_CUSTOM_TARGET( ${_moBasename}.${_lang}.mo ALL DEPENDS ${_relmoFile} )
ENDMACRO(GETTEXT_PROCESS_POFILE )

Expand Down

0 comments on commit 9fec4f7

Please sign in to comment.