1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-25 01:53:43 +01:00

cmake: MinGW - set WIN32 executable property

This commit is contained in:
xiphon 2019-10-08 11:42:52 +00:00 committed by TheCharlatan
parent 52182ef9b1
commit 2d23917afb

View File

@ -65,7 +65,13 @@ if(WITH_SCANNER)
endif()
message(STATUS ${QML_QRC})
add_executable(monero-gui main/main.cpp
set(EXECUTABLE_FLAG)
if(MINGW)
set(EXECUTABLE_FLAG WIN32)
endif()
add_executable(monero-gui ${EXECUTABLE_FLAG} main/main.cpp
${SOURCE_FILES}
${PASS_STRENGTH_FILES}
${QR_CODE_FILES}