Use CMAKE_DL_LIBS
This commit is contained in:
1 parent
7871d59030
commit
04365b08a2
1 file changed
+2
-7
@@ -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
|
||||
)
|
||||
Reference in new issue
Block a user