Skip to content

Commit

Permalink
Don't special-case nogui exe name on Apple.
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfi1 committed Mar 8, 2017
1 parent fb78451 commit ada595a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Source/Core/DolphinNoGUI/CMakeLists.txt
Expand Up @@ -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
Expand Down

0 comments on commit ada595a

Please sign in to comment.