From 7360923f0888e48294921bd931c585c7c502a443 Mon Sep 17 00:00:00 2001
From: Erik Kundiman <erik@megapahit.org>
Date: Tue, 11 Jul 2023 19:19:55 +0800
Subject: Disable dictionaries when using system libs

for now. Dictionaries should later be enabled when we have arrived at
the point where everything has run well that the next stage would be the
packaging for the distribution stage.
---
 indra/cmake/Hunspell.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/cmake/Hunspell.cmake b/indra/cmake/Hunspell.cmake
index bb037c0237..96c75ad262 100644
--- a/indra/cmake/Hunspell.cmake
+++ b/indra/cmake/Hunspell.cmake
@@ -2,7 +2,9 @@
 include(Prebuilt)
 
 include_guard()
+if (USE_AUTOBUILD_3P OR USE_CONAN)
 use_prebuilt_binary(dictionaries)
+endif ()
 
 add_library( ll::hunspell INTERFACE IMPORTED )
 use_system_binary(hunspell)
-- 
cgit v1.2.3