Skip to content

Commit

Permalink
Fix linking of lrelease on fedora/redhat
Browse files Browse the repository at this point in the history
  • Loading branch information
who-biz committed Jul 30, 2019
1 parent 9f8a0a4 commit e7a8561
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions translations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ else()
set(LRELEASE ${LRELEASE_PATH}/lrelease)
endif()

if(LRELEASE_PATH STREQUAL "")
find_program(LRELEASE lrelease-qt5)
else()
set(LRELEASE ${LRELEASE_PATH}/lrelease-qt5)
endif()

if(LRELEASE STREQUAL "LRELEASE-NOTFOUND")
set(ts_files "")
message(WARNING "lrelease program not found, translation files not built")
Expand Down

0 comments on commit e7a8561

Please sign in to comment.