mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-07 12:23:46 +02:00
Merge pull request #103 from dividiti/link_clblas_with_pthread
Link clBLAS together with pthread
This commit is contained in:
commit
a2bfae3c46
|
@ -272,8 +272,9 @@ if(CLIENTS OR TESTS)
|
|||
set(REF_INCLUDES )
|
||||
set(REF_LIBRARIES )
|
||||
if(CLBLAS_FOUND)
|
||||
find_package(Threads)
|
||||
set(REF_LIBRARIES ${REF_LIBRARIES} ${CLBLAS_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
set(REF_INCLUDES ${REF_INCLUDES} ${CLBLAS_INCLUDE_DIRS})
|
||||
set(REF_LIBRARIES ${REF_LIBRARIES} ${CLBLAS_LIBRARIES})
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
add_definitions(" /DCLBLAST_REF_CLBLAS")
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue