From 68adcbd209312df57da117cf551ef3adca18a0a4 Mon Sep 17 00:00:00 2001 From: Vlad Firoiu Date: Wed, 8 Mar 2017 11:42:46 -0800 Subject: [PATCH] Don't special-case nogui exe name on Apple. --- Source/Core/DolphinNoGUI/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 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