Permalink
Browse files

Merge pull request #7511 from stenzek/dolphin-no-gui-build

CMake: Fix DolphinNoGUI build
  • Loading branch information...
lioncash committed Oct 25, 2018
2 parents dc5a678 + 8c84e27 commit 748b275c9a44dd42299f5af41269662c2319d025
Showing with 2 additions and 2 deletions.
  1. +1 −1 Source/Core/Core/Core.cpp
  2. +1 −1 Source/Core/DolphinNoGUI/CMakeLists.txt
@@ -459,7 +459,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
bool init_controllers = false;
if (!g_controller_interface.IsInit())
{
g_controller_interface.Initialize(wsi.display_connection);
g_controller_interface.Initialize(wsi.render_surface);
Pad::Initialize();
Keyboard::Initialize();
init_controllers = true;
@@ -1,4 +1,4 @@
if(NOT(USE_X11 OR ENABLE_HEADLESS))
if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS))
return()
endif()

0 comments on commit 748b275

Please sign in to comment.