mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-01-06 20:38:53 +00:00
remove translations warning
This commit is contained in:
parent
31c9e27ec0
commit
f830130ad4
@ -50,13 +50,11 @@ endif()
|
||||
|
||||
if(LRELEASE STREQUAL "LRELEASE-NOTFOUND")
|
||||
set(ts_files "")
|
||||
message(WARNING "lrelease program not found, translation files not built")
|
||||
else()
|
||||
execute_process(COMMAND ${LRELEASE} -version
|
||||
RESULT_VARIABLE lrelease_ret)
|
||||
if(NOT lrelease_ret EQUAL "0")
|
||||
set(ts_files "")
|
||||
message(WARNING "lrelease program not working, translation files not built")
|
||||
else()
|
||||
file(GLOB ts_files RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.ts)
|
||||
foreach(ts_file ${ts_files})
|
||||
|
Loading…
Reference in New Issue
Block a user