Link against libdl for dlopen
This commit is contained in:
parent
c14e24688f
commit
c3b7350346
|
@ -699,11 +699,11 @@ if (WIN32)
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
elseif (APPLE)
|
||||||
|
|
||||||
if (APPLE)
|
|
||||||
find_library(COCOA Cocoa REQUIRED)
|
find_library(COCOA Cocoa REQUIRED)
|
||||||
list(APPEND DEPENDENCIES_LIBRARIES ${COCOA})
|
list(APPEND DEPENDENCIES_LIBRARIES ${COCOA})
|
||||||
|
else()
|
||||||
|
list(APPEND DEPENDENCIES_LIBRARIES dl)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
|
|
Loading…
Reference in New Issue