2016-05-05 17:55:29 -06:00
|
|
|
if(NOT(USE_X11 OR ENABLE_HEADLESS))
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2018-04-04 09:41:50 -06:00
|
|
|
add_executable(dolphin-nogui
|
|
|
|
MainNoGUI.cpp
|
|
|
|
)
|
2016-05-05 17:55:29 -06:00
|
|
|
|
2017-03-08 12:42:46 -07:00
|
|
|
set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
|
2016-05-05 17:55:29 -06:00
|
|
|
|
2018-04-04 09:41:50 -06:00
|
|
|
target_link_libraries(dolphin-nogui
|
|
|
|
PRIVATE
|
2016-05-05 17:55:29 -06:00
|
|
|
core
|
|
|
|
uicommon
|
|
|
|
cpp-optparse
|
|
|
|
)
|
|
|
|
|
|
|
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-nogui)
|
|
|
|
install(TARGETS dolphin-nogui RUNTIME DESTINATION ${bindir})
|
|
|
|
|