We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
qt6_add_lrelease
1 parent b80ead8 commit 9493165Copy full SHA for 9493165
src/qt/CMakeLists.txt
@@ -245,10 +245,11 @@ endif()
245
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
-)
+if(Qt6_VERSION VERSION_GREATER_EQUAL 6.7)
+ qt6_add_lrelease(TS_FILES ${ts_files} OPTIONS -silent)
+else()
+ qt6_add_lrelease(bitcoinqt TS_FILES ${ts_files} OPTIONS -silent)
252
+endif()
253
254
add_executable(bitcoin-qt
255
main.cpp
0 commit comments