File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -54,13 +54,6 @@ set(CMAKE_AUTORCC ON)
5454set (CMAKE_AUTOUIC ON )
5555set (CMAKE_AUTOUIC_SEARCH_PATHS forms)
5656
57- # TODO: The file(GLOB ...) command should be replaced with an explicit
58- # file list. Such a change must be synced with the corresponding change
59- # to https://github.com/bitcoin-core/bitcoin-maintainer-tools/blob/main/update-translations.py
60- file (GLOB ts_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} locale/*.ts)
61- set_source_files_properties (${ts_files} PROPERTIES OUTPUT_LOCATION ${CMAKE_CURRENT_BINARY_DIR} /locale)
62- qt6_add_translation(qm_files ${ts_files} )
63-
6457configure_file (bitcoin_locale.qrc bitcoin_locale.qrc USE_SOURCE_PERMISSIONS COPYONLY )
6558
6659# The bitcoinqt sources have to include headers in
@@ -250,6 +243,13 @@ if(qt_lib_type STREQUAL "STATIC_LIBRARY")
250243 )
251244endif ()
252245
246+ file (GLOB ts_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} locale/*.ts)
247+ set_source_files_properties (${ts_files} PROPERTIES OUTPUT_LOCATION ${CMAKE_CURRENT_BINARY_DIR} /locale)
248+ qt6_add_lrelease(bitcoinqt
249+ TS_FILES ${ts_files}
250+ OPTIONS -silent
251+ )
252+
253253add_executable (bitcoin-qt
254254 main.cpp
255255 ../init/bitcoin-qt.cpp
You can’t perform that action at this time.
0 commit comments