dolphin/Source/Core/DolphinNoGUI/CMakeLists.txt

21 lines
399 B
CMake
Raw Normal View History

2016-05-05 23:55:29 +00:00
if(NOT(USE_X11 OR ENABLE_HEADLESS))
return()
endif()
add_executable(dolphin-nogui
MainNoGUI.cpp
)
2016-05-05 23:55:29 +00:00
set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui)
2016-05-05 23:55:29 +00:00
target_link_libraries(dolphin-nogui
PRIVATE
2016-05-05 23:55:29 +00:00
core
uicommon
cpp-optparse
)
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-nogui)
install(TARGETS dolphin-nogui RUNTIME DESTINATION ${bindir})