summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorFlorent Castelli <florent.castelli@gmail.com>2017-01-20 23:04:46 +0100
committerFlorent Castelli <florent.castelli@gmail.com>2017-01-21 00:35:55 +0100
commitb6a7216b075ea9e78620ada8bffe183adb46a35b (patch)
tree0e7a766f1957a3979d6b3b0a3f0998009b0eb729 /Source/Core
parent2ff10ad0216eb60c61b7c815293cf80b6132d761 (diff)
cmake: Mark DolphinWX target as a Windows application (instead of console)
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt
index 45f3ce542e..3c9efc81b2 100644
--- a/Source/Core/DolphinWX/CMakeLists.txt
+++ b/Source/Core/DolphinWX/CMakeLists.txt
@@ -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()