diff options
| author | Erik Kundiman <erik@megapahit.org> | 2025-11-21 16:16:57 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2025-11-21 16:16:57 +0800 |
| commit | 21ef63545ca07ef625edb742b2b3d1473bf33f13 (patch) | |
| tree | fef2574a8705afdbeb6e745cdcb101972541b1c4 /indra/cmake/UI.cmake | |
| parent | 8c11861023b4fe30a7971ff34ac52bc76ce33ffa (diff) | |
which fixes the problem of freezing/crashing or disappearing of the
viewer, at least on default GNOME-based Debian.
Diffstat (limited to 'indra/cmake/UI.cmake')
| -rw-r--r-- | indra/cmake/UI.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/cmake/UI.cmake b/indra/cmake/UI.cmake index 85e74f03e4..ac45838427 100644 --- a/indra/cmake/UI.cmake +++ b/indra/cmake/UI.cmake @@ -12,6 +12,12 @@ if (LINUX OR CMAKE_SYSTEM_NAME MATCHES FreeBSD) return() endif() + if (${LINUX_DISTRO} MATCHES debian) + include(FindPkgConfig) + pkg_check_modules(Cairo REQUIRED cairo) + target_include_directories(ll::uilibraries SYSTEM INTERFACE ${Cairo_INCLUDE_DIRS}) + endif () + target_link_libraries( ll::uilibraries INTERFACE fltk Xrender |
