File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ endif( )
172
172
# add the math library for Linux
173
173
if ( UNIX )
174
174
set (MATH_LIBRARY "m" )
175
+ set (THREAD_LIBRARY "pthread" )
175
176
endif ()
176
177
177
178
# set the path to specific OpenCL compiler
Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ endif()
887
887
set_target_properties (clBLAS PROPERTIES VERSION ${clBLAS_VERSION} )
888
888
set_target_properties (clBLAS PROPERTIES SOVERSION ${clBLAS_SOVERSION} )
889
889
set_target_properties ( clBLAS PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR} /staging" )
890
- target_link_libraries (clBLAS ${OPENCL_LIBRARIES} ${MATH_LIBRARY} )
890
+ target_link_libraries (clBLAS ${OPENCL_LIBRARIES} ${MATH_LIBRARY} ${THREAD_LIBRARY} )
891
891
892
892
# CPack configuration; include the executable into the package
893
893
install ( TARGETS clBLAS
You can’t perform that action at this time.
0 commit comments