Remove unnecessary com file for Win (#4863)
* Remove unnecessary com file for Win * Keep Qt5 WinExtras
This commit is contained in:
parent
8eefd013d7
commit
3c8ed91afc
1 changed files with 0 additions and 9 deletions
|
@ -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 .)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue