Some FreeBSD fixes

This commit is contained in:
vcambur 2017-10-20 08:41:08 +00:00
parent 1af1ba6b5f
commit 9c0fe73102
4 changed files with 23 additions and 4 deletions

View file

@ -122,6 +122,14 @@ elseif (APPLE)
src/Mem_unix.cpp
src/Platform_mac.cpp
)
elseif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
set(SOURCES_OS
src/App_unix.cpp
src/Cpu_unix.cpp
src/Mem_unix.cpp
src/Platform_unix.cpp
)
set(EXTRA_LIBS pthread kvm)
else()
set(SOURCES_OS
src/App_unix.cpp