mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
FreeBSD hasn't libdl, functions included in libc
This commit is contained in:
parent
1f1656a6c2
commit
88f7bffc4f
@ -116,7 +116,9 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_HOST_UNIX)
|
if (CMAKE_HOST_UNIX)
|
||||||
|
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
list(APPEND LIBS "dl")
|
list(APPEND LIBS "dl")
|
||||||
|
endif(NOT ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
|
|
||||||
if (MULTITHREAD_SUPPORT_ENABLED)
|
if (MULTITHREAD_SUPPORT_ENABLED)
|
||||||
list(APPEND LIBS "pthread")
|
list(APPEND LIBS "pthread")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user