mirror of
https://github.com/MariaDB/server.git
synced 2025-08-17 21:39:33 +00:00
Add libm to the lib of required libraries when doing system checks
This commit is contained in:
@ -283,7 +283,7 @@ IF(UNIX)
|
||||
FIND_PACKAGE(Threads)
|
||||
|
||||
SET(CMAKE_REQUIRED_LIBRARIES
|
||||
${LIBNLS} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT})
|
||||
${LIBM} ${LIBNLS} ${LIBBIND} ${LIBCRYPT} ${LIBSOCKET} ${LIBDL} ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
LINK_LIBRARIES(${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
|
Reference in New Issue
Block a user