mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +00:00
cmake: MinGW - set WIN32 executable property
This commit is contained in:
parent
52182ef9b1
commit
2d23917afb
1 changed files with 7 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue