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
|
||||
)
|
||||
|
||||
set(EXTRA_LIBS pthread rt dl)
|
||||
endif()
|
||||
set(EXTRA_LIBS pthread rt)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
set(EXTRA_LIBS ${EXTRA_LIBS} kvm)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
set(EXTRA_LIBS ${EXTRA_LIBS} kvm)
|
||||
else()
|
||||
set(EXTRA_LIBS ${EXTRA_LIBS} dl)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue