Changeset View
Changeset View
Standalone View
Standalone View
src/qt/CMakeLists.txt
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Lines | target_sources(bitcoin-qt-base | ||||
PRIVATE | PRIVATE | ||||
paymentrequestplus.cpp | paymentrequestplus.cpp | ||||
) | ) | ||||
endif() | endif() | ||||
target_link_libraries(bitcoin-qt-base wallet) | target_link_libraries(bitcoin-qt-base wallet) | ||||
if(ENABLE_QRCODE) | if(ENABLE_QRCODE) | ||||
target_include_directories(bitcoin-qt-base PUBLIC ${QRENCODE_INCLUDE_DIR}) | find_package(QREncode REQUIRED) | ||||
target_link_libraries(bitcoin-qt-base ${QRENCODE_LIBRARY}) | target_link_libraries(bitcoin-qt-base QREncode::qrencode) | ||||
endif() | endif() | ||||
endif() | endif() | ||||
# The executable | # The executable | ||||
add_executable(bitcoin-qt WIN32 main.cpp) | add_executable(bitcoin-qt WIN32 main.cpp) | ||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") | if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") | ||||
target_sources(bitcoin-qt PRIVATE res/bitcoin-qt-res.rc) | target_sources(bitcoin-qt PRIVATE res/bitcoin-qt-res.rc) | ||||
endif() | endif() | ||||
▲ Show 20 Lines • Show All 277 Lines • Show Last 20 Lines |