summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-10 21:00:29 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-10 21:00:29 +0800
commit72c5668d54dd7f0fd43ce084cee84ea07662c4ae (patch)
treea77f4039cc430caf261d3a9d75dbfe4b364bc826 /indra
parent0b83ae82b72bf69310546f7f7fada9cb1d072564 (diff)
Make sure APP_SHARE_DIR is valued in llfilesystem
otherwise the app would crash on GNU/Linux or BSD for missing the share directory prefix, unless cmake is run twice like before just so APP_SHARE_DIR is picked up but we don't want to have to run it twice.
Diffstat (limited to 'indra')
-rw-r--r--indra/llfilesystem/CMakeLists.txt1
-rw-r--r--indra/newview/CMakeLists.txt1
2 files changed, 1 insertions, 1 deletions
diff --git a/indra/llfilesystem/CMakeLists.txt b/indra/llfilesystem/CMakeLists.txt
index 7db1971460..22c30c55d9 100644
--- a/indra/llfilesystem/CMakeLists.txt
+++ b/indra/llfilesystem/CMakeLists.txt
@@ -4,6 +4,7 @@ project(llfilesystem)
include(00-Common)
include(LLCommon)
+include(UnixInstall)
set(llfilesystem_SOURCE_FILES
lldir.cpp
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 1bf44abb95..49a52c1e0f 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -65,7 +65,6 @@ if (ENABLE_MEDIA_PLUGINS)
include(CEFPlugin)
endif (DARWIN OR LINUX)
endif (ENABLE_MEDIA_PLUGINS)
-include(UnixInstall)
if (NOT (USESYSTEMLIBS OR HAVOK_TPV))
# When using HAVOK_TPV, the library is precompiled, so no need for this