From 96390c6f7153d9508594a64672d3999bb0663371 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 16 Jan 2019 10:55:45 +0100 Subject: [PATCH] FreeBSD needs pthread FreeBSD needs the pthread linker flag. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 039bf418..da818232 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()