From 1e8cdc02d184160994c788005e47c79b6000f25c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 24 Oct 2018 14:50:23 +1000 Subject: [PATCH] CMake: Fix DolphinNoGUI build --- Source/Core/DolphinNoGUI/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinNoGUI/CMakeLists.txt b/Source/Core/DolphinNoGUI/CMakeLists.txt index 2f7761789a..34890d294e 100644 --- a/Source/Core/DolphinNoGUI/CMakeLists.txt +++ b/Source/Core/DolphinNoGUI/CMakeLists.txt @@ -1,4 +1,4 @@ -if(NOT(USE_X11 OR ENABLE_HEADLESS)) +if(NOT((ENABLE_X11 AND X11_FOUND) OR ENABLE_HEADLESS)) return() endif()