Changeset View
Changeset View
Standalone View
Standalone View
src/qt/CMakeLists.txt
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") | ||||
target_sources(bitcoin-qt-base PRIVATE winshutdownmonitor.cpp) | target_sources(bitcoin-qt-base PRIVATE winshutdownmonitor.cpp) | ||||
endif() | endif() | ||||
# OSX support | # OSX support | ||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||||
list(APPEND QT_PLUGIN_COMPONENTS QCocoaIntegrationPlugin) | list(APPEND QT_PLUGIN_COMPONENTS QCocoaIntegrationPlugin) | ||||
list(APPEND QT_PLUGIN_PLATFORM_DEFINITIONS -DQT_QPA_PLATFORM_COCOA=1) | list(APPEND QT_PLUGIN_PLATFORM_DEFINITIONS -DQT_QPA_PLATFORM_COCOA=1) | ||||
target_sources(bitcoin-qt-base PRIVATE | target_sources(bitcoin-qt-base PRIVATE | ||||
macdockiconhandler.mm | macdockiconhandler.mm | ||||
macnotificationhandler.mm | macnotificationhandler.mm | ||||
) | ) | ||||
set_property(TARGET bitcoin-qt-base PROPERTY AUTOMOC_MOC_OPTIONS "-DQ_OS_MAC") | set_property(TARGET bitcoin-qt-base PROPERTY AUTOMOC_MOC_OPTIONS "-DQ_OS_MAC") | ||||
endif() | endif() | ||||
# Find out more about Qt. This is similar to | # Find out more about Qt. This is similar to | ||||
▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines |