From a055ad7c86ef185b427615efccb5fd0af2d95dce Mon Sep 17 00:00:00 2001 From: Wesley Shillingford Date: Sat, 16 Feb 2019 10:35:55 +0000 Subject: [PATCH] Find pthread in CMakeLists.txt (#1714) * Add threads package * Don't make it required as per the website source --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 60816439..3918bd2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,9 +30,7 @@ endif() set(CMAKE_POSITION_INDEPENDENT_CODE ON) -# TODO check if any library requires these -#find_package(Threads REQUIRED) -#set (PLATFORM_LIBS ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS}) +find_package(Threads) if (WIN32) add_definitions(-D_WIN32_WINNT=0x0600