From a204c5183db9bda96e92088c88e171a21d504c92 Mon Sep 17 00:00:00 2001 From: tlangfor Date: Fri, 14 Jan 2022 11:19:02 -0500 Subject: [PATCH] add pthread option for CMake CXX flags --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e79de44..2f29e92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ project(ProPCA) include_directories(include/) set(CMAKE_CXX_FLAGS "-std=c++0x -O3 -lrt") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") IF (NOT DEFINED SSE_SUPPORT) SET(SSE_SUPPORT 0)