Changeset View
Changeset View
Standalone View
Standalone View
src/qt/CMakeLists.txt
# Copyright (c) 2018 The Bitcoin developers | # Copyright (c) 2018 The Bitcoin developers | ||||
project(bitcoin-qt) | project(bitcoin-qt) | ||||
include(BrewHelper) | include(BrewHelper) | ||||
find_brew_prefix(QT5_PREFIX qt5) | find_brew_prefix(QT5_PREFIX qt5) | ||||
set(QT_REQUIRED_COMPONENTS Core Widgets Network Test) | set(QT_REQUIRED_COMPONENTS Core Widgets Network Test) | ||||
if(ENABLE_DBUS_NOTIFICATIONS) | if(ENABLE_DBUS_NOTIFICATIONS) | ||||
list(APPEND QT_REQUIRED_COMPONENTS DBus) | list(APPEND QT_REQUIRED_COMPONENTS DBus) | ||||
endif() | endif() | ||||
find_package(Qt5 5.5.1 COMPONENTS ${QT_REQUIRED_COMPONENTS} REQUIRED HINTS "${QT5_PREFIX}") | find_package(Qt5 5.9.5 COMPONENTS ${QT_REQUIRED_COMPONENTS} REQUIRED HINTS "${QT5_PREFIX}") | ||||
# Localisation | # Localisation | ||||
add_subdirectory(locale) | add_subdirectory(locale) | ||||
add_custom_command(OUTPUT temp_bitcoin_locale.qrc | add_custom_command(OUTPUT temp_bitcoin_locale.qrc | ||||
COMMAND cmake | COMMAND cmake | ||||
ARGS | ARGS | ||||
-E copy | -E copy | ||||
▲ Show 20 Lines • Show All 605 Lines • Show Last 20 Lines |