Remove unnecessary com file for Win (#4863)

* Remove unnecessary com file for Win

* Keep Qt5 WinExtras
This commit is contained in:
RickiNano 2025-03-18 20:32:14 +01:00 committed by GitHub
commit 3c8ed91afc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -846,14 +846,6 @@ if(NANO_GUI OR RAIBLOCKS_GUI)
if(WIN32)
target_link_libraries(nano_wallet Qt5::WinExtras)
# nano_wallet.com executable for Windows console
add_executable(nano_wallet_com nano/nano_wallet/entry_com.cpp)
target_link_libraries(nano_wallet_com node)
set_target_properties(
nano_wallet_com
PROPERTIES COMPILE_FLAGS "-DBOOST_ASIO_HAS_STD_ARRAY=1"
OUTPUT_NAME "nano_wallet"
SUFFIX ".com")
endif()
set_target_properties(
@ -933,7 +925,6 @@ if(NANO_GUI OR RAIBLOCKS_GUI)
LOCATION)
get_filename_component(Qt5_bin_DIR ${Qt5_DIR}/../../../bin ABSOLUTE)
install(TARGETS nano_wallet DESTINATION .)
install(TARGETS nano_wallet_com DESTINATION .)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${WIN_REDIST} DESTINATION .)
install(FILES ${Qt5_bin_DIR}/libGLESv2.dll DESTINATION .)
install(FILES ${Qt5_bin_DIR}/Qt5Core.dll DESTINATION .)