mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-07 16:12:31 +00:00
Link against libdl for dlopen
This commit is contained in:
parent
c14e24688f
commit
c3b7350346
1 changed files with 3 additions and 3 deletions
|
@ -699,11 +699,11 @@ if (WIN32)
|
|||
if (NOT MSVC)
|
||||
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
elseif (APPLE)
|
||||
find_library(COCOA Cocoa REQUIRED)
|
||||
list(APPEND DEPENDENCIES_LIBRARIES ${COCOA})
|
||||
else()
|
||||
list(APPEND DEPENDENCIES_LIBRARIES dl)
|
||||
endif()
|
||||
|
||||
if (NOT MSVC)
|
||||
|
|
Loading…
Reference in a new issue