Skip to content
Snippets Groups Projects
Commit 4e8edebe authored by Rider Linden's avatar Rider Linden
Browse files

MAINT-5977: Update cmake file to always include boost with LLCommon

parent 6851dd30
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,17 @@ if (LINUX) ...@@ -19,9 +19,17 @@ if (LINUX)
# In order to support using ld.gold on linux, we need to explicitely # In order to support using ld.gold on linux, we need to explicitely
# specify all libraries that llcommon uses. # specify all libraries that llcommon uses.
# llcommon uses `clock_gettime' which is provided by librt on linux. # 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) else (LINUX)
set(LLCOMMON_LIBRARIES llcommon) set(LLCOMMON_LIBRARIES llcommon
${BOOST_COROUTINE_LIBRARY}
${BOOST_CONTEXT_LIBRARY}
${BOOST_THREAD_LIBRARY}
${BOOST_SYSTEM_LIBRARY} )
endif (LINUX) endif (LINUX)
# add_definitions(${TCMALLOC_FLAG}) # add_definitions(${TCMALLOC_FLAG})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment