build: add shm lib to cmake

This commit is contained in:
Danny Robson 2017-01-19 13:34:49 +11:00
parent 1b644132f0
commit 0bcf9da239

View File

@ -79,11 +79,12 @@ endif ()
###############################################################################
# platform libraries
search_libs (SHM_LIBS shm_open rt)
search_libs (DL_LIBS dlopen dl)
search_libs (CLOCK_LIB clock_gettime rt c)
search_libs (MATH_LIB cos m)
list (APPEND LIBS ${DL_LIBS} ${CLOCK_LIB} ${MATH_LIB})
list (APPEND LIBS ${SHM_LIIBS} ${DL_LIBS} ${CLOCK_LIB} ${MATH_LIB})
###############################################################################