summaryrefslogtreecommitdiff
path: root/indra/newview/CMakeLists.txt
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-12 19:12:59 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-19 14:57:30 +0800
commit1ada8b037676e39f7664dc8339f2828949b05aa0 (patch)
tree2eb782db4eec174b91193b2cf3b9cf4f596d6061 /indra/newview/CMakeLists.txt
parent2c31cc45d4e41c42a8940bdefb79eae9d85d8fd7 (diff)
Disable packages info when using system libraries
For now. Maybe.
Diffstat (limited to 'indra/newview/CMakeLists.txt')
-rw-r--r--indra/newview/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index b24f643929..c6dc0e7c96 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -9,7 +9,9 @@ include(Linking)
include(Boost)
include(bugsplat)
+if (USE_AUTOBUILD_3P OR USE_CONAN)
include(BuildPackagesInfo)
+endif ()
include(BuildVersion)
include(CMakeCopyIfDifferent)
if (USE_AUTOBUILD_3P OR USE_CONAN)
@@ -1617,6 +1619,10 @@ set(viewer_APPSETTINGS_FILES
featuretable_mac.txt
)
+if (NOT (USE_AUTOBUILD_3P OR USE_CONAN))
+ list(REMOVE_ITEM viewer_APPSETTINGS_FILES packages-info.txt)
+endif ()
+
source_group("App Settings" FILES ${viewer_APPSETTINGS_FILES})
set_source_files_properties(${viewer_APPSETTINGS_FILES}