From 3c8ed91afc5d159325695ba4aa40741373ce286c Mon Sep 17 00:00:00 2001 From: RickiNano <81099017+RickiNano@users.noreply.github.com> Date: Tue, 18 Mar 2025 20:32:14 +0100 Subject: [PATCH] Remove unnecessary com file for Win (#4863) * Remove unnecessary com file for Win * Keep Qt5 WinExtras --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be26bb84..8cc38660 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 .)