FreeBSD needs pthread
FreeBSD needs the pthread linker flag.
This commit is contained in:
parent
b11e772acc
commit
b58e20dde4
@ -158,7 +158,7 @@ else()
|
||||
)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
set(EXTRA_LIBS kvm)
|
||||
set(EXTRA_LIBS kvm pthread)
|
||||
else()
|
||||
set(EXTRA_LIBS pthread rt dl)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user