From 38f85a3b4c07c9f16119ce0e40252df258e46f4e Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Mon, 29 Nov 2021 21:08:29 +0100 Subject: [PATCH] [PATCH 102/144] link libpocl-devices-hsa.so with -pthread Gbp-Pq: Name 0102-link-libpocl-devices-hsa.so-with-pthread.patch --- lib/CL/devices/hsa/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CL/devices/hsa/CMakeLists.txt b/lib/CL/devices/hsa/CMakeLists.txt index 483efb2..3550d09 100644 --- a/lib/CL/devices/hsa/CMakeLists.txt +++ b/lib/CL/devices/hsa/CMakeLists.txt @@ -28,5 +28,5 @@ if(MSVC) endif(MSVC) add_pocl_device_library(pocl-devices-hsa pocl-hsa.c pocl-hsa.h) if(ENABLE_LOADABLE_DRIVERS) - target_link_libraries(pocl-devices-hsa PRIVATE ${HSALIB}) + target_link_libraries(pocl-devices-hsa PRIVATE ${HSALIB} ${PTHREAD_LIBRARY}) endif() -- 2.30.2