diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-04-04 11:41:50 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-04-04 11:42:57 -0400 |
| commit | 6f694e435c415b06bb5e042541ab28ffb1d46317 (patch) | |
| tree | 50e77635187b839fc98be418f60a34faa24d0f5d /Source/Core | |
| parent | 9be505fde2c695c90314b07a0ad90f537301f034 (diff) | |
DolphinNoGUI/CMakeLists: Remove the use of SRCS and LIBS variables
Instead, operate on the target directly. This removes the last usages of the
SRCS and LIBS variables.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinNoGUI/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/DolphinNoGUI/CMakeLists.txt b/Source/Core/DolphinNoGUI/CMakeLists.txt index 9a0b19a616..9dbbe040e1 100644 --- a/Source/Core/DolphinNoGUI/CMakeLists.txt +++ b/Source/Core/DolphinNoGUI/CMakeLists.txt @@ -2,16 +2,17 @@ if(NOT(USE_X11 OR ENABLE_HEADLESS)) return() endif() -set(NOGUI_SRCS MainNoGUI.cpp) +add_executable(dolphin-nogui + MainNoGUI.cpp +) -add_executable(dolphin-nogui ${NOGUI_SRCS}) set_target_properties(dolphin-nogui PROPERTIES OUTPUT_NAME dolphin-emu-nogui) -target_link_libraries(dolphin-nogui PRIVATE +target_link_libraries(dolphin-nogui +PRIVATE core uicommon cpp-optparse - ${LIBS} ) set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} dolphin-nogui) |
