Use CMAKE_DL_LIBS
This commit is contained in:
parent
7871d59030
commit
04365b08a2
|
|
@ -16,12 +16,7 @@ if(USE_HTTP)
|
|||
list(APPEND CLIENT_PLATFORM_SOURCES ${SOURCE_DIR}/client/cl_http_curl.c)
|
||||
endif()
|
||||
|
||||
if(NOT BSD)
|
||||
list(APPEND COMMON_LIBRARIES
|
||||
dl # Dynamic loader
|
||||
)
|
||||
endif()
|
||||
|
||||
list(APPEND COMMON_LIBRARIES
|
||||
m # Math library
|
||||
${CMAKE_DL_LIBS} # Dynamic loader
|
||||
m # Math library
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user