Fixed FreeBSD build #65
This commit is contained in:
parent
0a7862dd39
commit
3b5278323c
1 changed files with 8 additions and 6 deletions
|
@ -90,11 +90,13 @@ else()
|
||||||
src/Platform_unix.cpp
|
src/Platform_unix.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(EXTRA_LIBS pthread rt dl)
|
set(EXTRA_LIBS pthread rt)
|
||||||
endif()
|
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} kvm)
|
set(EXTRA_LIBS ${EXTRA_LIBS} kvm)
|
||||||
|
else()
|
||||||
|
set(EXTRA_LIBS ${EXTRA_LIBS} dl)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue