summaryrefslogtreecommitdiff
path: root/indra/llimage
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-23 09:15:38 -0400
committerRye <rye@alchemyviewer.org>2025-10-27 04:59:15 -0400
commit37f89080ba5ce1ddd7848d2029794a5f5aabb7be (patch)
treecba155b6872e4ad40d010c10d59d72c578073360 /indra/llimage
parentf33eb2c2d4715607c8821f5d694e94a3b9663826 (diff)
Introduce global precompiled header to accelerate build
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llimage')
-rw-r--r--indra/llimage/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llimage/CMakeLists.txt b/indra/llimage/CMakeLists.txt
index cc75c463bc..a81808343f 100644
--- a/indra/llimage/CMakeLists.txt
+++ b/indra/llimage/CMakeLists.txt
@@ -63,6 +63,10 @@ target_link_libraries(llimage
ll::libjpeg
)
+if (USE_PRECOMPILED_HEADERS)
+ target_precompile_headers(llimage REUSE_FROM llprecompiled)
+endif ()
+
# Add tests
if (LL_TESTS)
SET(llimage_TEST_SOURCE_FILES