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