mirror of
https://github.com/monero-project/monero-gui
synced 2024-12-26 01:23:44 +01:00
cmake: MinGW - set WIN32 executable property
This commit is contained in:
parent
52182ef9b1
commit
2d23917afb
@ -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 New Issue
Block a user