Don't special-case nogui exe name on Apple.
This commit is contained in:
parent
bc9db6de56
commit
68adcbd209
|
@ -2,18 +2,10 @@ if(NOT(USE_X11 OR ENABLE_HEADLESS))
|
||||||
return()
|
return()
|
||||||
endif()
|
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)
|
set(NOGUI_SRCS MainNoGUI.cpp)
|
||||||
|
|
||||||
add_executable(dolphin-nogui ${NOGUI_SRCS})
|
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
|
target_link_libraries(dolphin-nogui PRIVATE
|
||||||
core
|
core
|
||||||
|
|
Loading…
Reference in New Issue