diff options
Diffstat (limited to 'Source/Core/DolphinNoGUI')
| -rw-r--r-- | Source/Core/DolphinNoGUI/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/CMakeLists.txt b/Source/Core/DolphinNoGUI/CMakeLists.txt index 820f01c275..4f10169af1 100644 --- a/Source/Core/DolphinNoGUI/CMakeLists.txt +++ b/Source/Core/DolphinNoGUI/CMakeLists.txt @@ -5,8 +5,9 @@ add_executable(dolphin-nogui MainNoGUI.cpp ) -if(ENABLE_X11 AND X11_FOUND) +if(X11_FOUND) target_sources(dolphin-nogui PRIVATE PlatformX11.cpp) + target_link_libraries(dolphin-nogui PRIVATE PkgConfig::XRANDR PkgConfig::X11) endif() if(WIN32) |
