From 4e8edebe13de9d638f1236bfd6aeddadf508de38 Mon Sep 17 00:00:00 2001
From: Rider Linden <rider@lindenlab.com>
Date: Thu, 17 Dec 2015 17:12:11 -0800
Subject: [PATCH] MAINT-5977: Update cmake file to always include boost with
 LLCommon

---
 indra/cmake/LLCommon.cmake | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/indra/cmake/LLCommon.cmake b/indra/cmake/LLCommon.cmake
index b52556a73e4..93b056fcb74 100755
--- a/indra/cmake/LLCommon.cmake
+++ b/indra/cmake/LLCommon.cmake
@@ -19,9 +19,17 @@ if (LINUX)
     # In order to support using ld.gold on linux, we need to explicitely
     # specify all libraries that llcommon uses.
     # llcommon uses `clock_gettime' which is provided by librt on linux.
-    set(LLCOMMON_LIBRARIES llcommon rt)
+    set(LLCOMMON_LIBRARIES llcommon rt 
+        ${BOOST_COROUTINE_LIBRARY} 
+        ${BOOST_CONTEXT_LIBRARY} 
+        ${BOOST_THREAD_LIBRARY} 
+        ${BOOST_SYSTEM_LIBRARY} )
 else (LINUX)
-    set(LLCOMMON_LIBRARIES llcommon)
+    set(LLCOMMON_LIBRARIES llcommon
+        ${BOOST_COROUTINE_LIBRARY} 
+        ${BOOST_CONTEXT_LIBRARY} 
+        ${BOOST_THREAD_LIBRARY} 
+        ${BOOST_SYSTEM_LIBRARY} )
 endif (LINUX)
 
 # add_definitions(${TCMALLOC_FLAG})
-- 
GitLab