From c20a5bb7caa745452e25c0bd6c7d8f59278aa374 Mon Sep 17 00:00:00 2001 From: Anton Lokhmotov Date: Mon, 26 Sep 2016 10:30:18 +0000 Subject: [PATCH] Link clBLAS together with pthread. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 727ba42f..e86ca43f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -273,7 +273,7 @@ if(CLIENTS OR TESTS) set(REF_LIBRARIES ) if(CLBLAS_FOUND) set(REF_INCLUDES ${REF_INCLUDES} ${CLBLAS_INCLUDE_DIRS}) - set(REF_LIBRARIES ${REF_LIBRARIES} ${CLBLAS_LIBRARIES}) + set(REF_LIBRARIES ${REF_LIBRARIES} ${CLBLAS_LIBRARIES} pthread) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") add_definitions(" /DCLBLAST_REF_CLBLAS") else()