CMakeLists.txt raw

   1  # Copyright (c) 2025-present The Bitcoin Core developers
   2  # Distributed under the MIT software license, see the accompanying
   3  # file COPYING or https://opensource.org/license/mit/.
   4  
   5  include(ts_files.cmake)
   6  
   7  if(Qt6_VERSION VERSION_GREATER_EQUAL 6.7)
   8    qt6_add_lrelease(TS_FILES ${ts_files} LRELEASE_TARGET bitcoinqt_lrelease OPTIONS -silent)
   9  else()
  10    qt6_add_lrelease(bitcoinqt TS_FILES ${ts_files} OPTIONS -silent)
  11  endif()
  12  
  13  add_dependencies(bitcoinqt bitcoinqt_lrelease)
  14