summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorVlad Firoiu <vladfi2@gmail.com>2017-03-08 11:42:46 -0800
committerVlad Firoiu <vladfi2@gmail.com>2017-03-08 13:17:49 -0800
commit68adcbd209312df57da117cf551ef3adca18a0a4 (patch)
tree1e8e48f8632a7d1d13915adcf8de53685a3e3a42 /Source/Core
parentbc9db6de566ba608785ce10bf40b80885ef7e8e3 (diff)
Don't special-case nogui exe name on Apple.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinNoGUI/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/Source/Core/DolphinNoGUI/CMakeLists.txt b/Source/Core/DolphinNoGUI/CMakeLists.txt
index 7680c28dcb..9a0b19a616 100644
--- a/Source/Core/DolphinNoGUI/CMakeLists.txt
+++ b/Source/Core/DolphinNoGUI/CMakeLists.txt
@@ -2,18 +2,10 @@ if(NOT(USE_X11 OR ENABLE_HEADLESS))
return()
endif()
-if(APPLE)
- set(DOLPHIN_EXE_BASE Dolphin)
-else()
- set(DOLPHIN_EXE_BASE dolphin-emu)
-endif()
-
-set(DOLPHIN_NOGUI_EXE ${DOLPHIN_EXE_BASE}-nogui)
-
set(NOGUI_SRCS MainNoGUI.cpp)
add_executable(dolphin-nogui ${NOGUI_SRCS})
-set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME ${DOLPHIN_NOGUI_EXE})
+set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
target_link_libraries(dolphin-nogui PRIVATE
core