cmake: Mark DolphinWX target as a Windows application (instead of console)

This commit is contained in:
Florent Castelli 2017-01-20 23:04:46 +01:00
parent 2ff10ad021
commit b6a7216b07
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ if(wxWidgets_FOUND)
install(DIRECTORY ${BUNDLE_PATH} DESTINATION /Applications
USE_SOURCE_PERMISSIONS
)
elseif(WIN32)
set_target_properties(${DOLPHIN_EXE} PROPERTIES
WIN32_EXECUTABLE ON
)
else()
install(TARGETS ${DOLPHIN_EXE} RUNTIME DESTINATION ${bindir})
endif()