summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI
diff options
context:
space:
mode:
authorGuilherme Janczak <guilherme.janczak@yandex.com>2024-04-18 10:58:08 +0000
committerGuilherme Janczak <guilherme.janczak@yandex.com>2024-04-22 20:50:47 +0000
commit50dc0ffbceebe0f633bd63cd4710a3e2f548d688 (patch)
treeb99f6337579512b87f6412a4233a98531d5438c8 /Source/Core/DolphinNoGUI
parente69486d2cb4e3e01dd622d760350b26d6cbd59f5 (diff)
port to OpenBSD
Diffstat (limited to 'Source/Core/DolphinNoGUI')
-rw-r--r--Source/Core/DolphinNoGUI/CMakeLists.txt3
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)