diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-07-31 19:29:02 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-07-31 19:29:02 +0800 |
| commit | 7e47eff5042c2fb897c8eee1219889a84ca3bf36 (patch) | |
| tree | 2527d29a965dd54463f4d82834c86906996db22d /indra/media_plugins/cef | |
| parent | f94ad55c430f1b898e74871233703b12e48b8fce (diff) | |
Compare LINUX_DISTRO with freedesktop on Flatpak
so no need for USE_FLATPAK, and just maybe there are some other
platforms that use this runtime as the distro info.
Diffstat (limited to 'indra/media_plugins/cef')
| -rw-r--r-- | indra/media_plugins/cef/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/media_plugins/cef/CMakeLists.txt b/indra/media_plugins/cef/CMakeLists.txt index 1622d3091f..666826dc89 100644 --- a/indra/media_plugins/cef/CMakeLists.txt +++ b/indra/media_plugins/cef/CMakeLists.txt @@ -157,7 +157,7 @@ if (INSTALL) DESTINATION ${_LIB} ) elseif (LINUX) - if (USE_FLATPAK) + if (${LINUX_DISTRO} MATCHES freedesktop) set(_LIB lib) elseif (${LINUX_DISTRO} MATCHES debian OR (${LINUX_DISTRO} MATCHES ubuntu)) set(_LIB lib/${ARCH}-linux-gnu/${VIEWER_BINARY_NAME}) @@ -166,7 +166,7 @@ if (INSTALL) else () set(_LIB lib/${VIEWER_BINARY_NAME}) endif () - if (USE_FLATPAK) + if (${LINUX_DISTRO} MATCHES freedesktop) install( PROGRAMS ${AUTOBUILD_INSTALL_DIR}/bin/release/chrome-sandbox |
