diff options
| author | Guilherme Janczak <guilherme.janczak@yandex.com> | 2024-04-18 10:58:08 +0000 |
|---|---|---|
| committer | Guilherme Janczak <guilherme.janczak@yandex.com> | 2024-04-22 20:50:47 +0000 |
| commit | 50dc0ffbceebe0f633bd63cd4710a3e2f548d688 (patch) | |
| tree | b99f6337579512b87f6412a4233a98531d5438c8 /Source/Core/VideoBackends | |
| parent | e69486d2cb4e3e01dd622d760350b26d6cbd59f5 (diff) | |
port to OpenBSD
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/CMakeLists.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/Core/VideoBackends/OGL/CMakeLists.txt b/Source/Core/VideoBackends/OGL/CMakeLists.txt index 8fb8524054..30c4f98ba2 100644 --- a/Source/Core/VideoBackends/OGL/CMakeLists.txt +++ b/Source/Core/VideoBackends/OGL/CMakeLists.txt @@ -27,14 +27,10 @@ add_library(videoogl VideoBackend.h ) -target_link_libraries(videoogl -PUBLIC - common - videocommon - -PRIVATE - ${X11_LIBRARIES} -) +target_link_libraries(videoogl PUBLIC common videocommon) +if(X11_FOUND) + target_link_libraries(videoogl PRIVATE PkgConfig::X11) +endif() if(MSVC) # Add precompiled header |
