summaryrefslogtreecommitdiff
path: root/indra/cmake/APR.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-07-31 19:29:02 +0800
committerErik Kundiman <erik@megapahit.org>2026-07-31 19:29:02 +0800
commit7e47eff5042c2fb897c8eee1219889a84ca3bf36 (patch)
tree2527d29a965dd54463f4d82834c86906996db22d /indra/cmake/APR.cmake
parentf94ad55c430f1b898e74871233703b12e48b8fce (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/cmake/APR.cmake')
-rw-r--r--indra/cmake/APR.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/APR.cmake b/indra/cmake/APR.cmake
index b7ada1cfb1..ef541388d8 100644
--- a/indra/cmake/APR.cmake
+++ b/indra/cmake/APR.cmake
@@ -5,7 +5,7 @@ include_guard()
add_library( ll::apr INTERFACE IMPORTED )
-if (NOT USE_FLATPAK)
+if (NOT (${LINUX_DISTRO} MATCHES freedesktop))
if (WINDOWS)
target_include_directories(ll::apr SYSTEM INTERFACE ${prefix_result}/../include)
target_link_directories(ll::apr INTERFACE ${prefix_result})