From 7e47eff5042c2fb897c8eee1219889a84ca3bf36 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Fri, 31 Jul 2026 19:29:02 +0800 Subject: 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. --- indra/llplugin/slplugin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/llplugin/slplugin') diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt index f7adb9404b..80356b6b51 100644 --- a/indra/llplugin/slplugin/CMakeLists.txt +++ b/indra/llplugin/slplugin/CMakeLists.txt @@ -76,7 +76,7 @@ endif () if (INSTALL) if (DARWIN OR WINDOWS) install(TARGETS ${PROJECT_NAME} DESTINATION .) - elseif (USE_FLATPAK) + elseif (${LINUX_DISTRO} MATCHES freedesktop) install(TARGETS ${PROJECT_NAME} DESTINATION libexec) elseif (${LINUX_DISTRO} MATCHES arch) install(TARGETS ${PROJECT_NAME} DESTINATION lib/${VIEWER_BINARY_NAME}) -- cgit v1.3