Commit e299af1b authored by Sandro Christian Wenzel's avatar Sandro Christian Wenzel
Browse files

We need to link against pthread; Remove duplicate from CMakeLists

parent 607bd213
......@@ -872,7 +872,7 @@ endif()
# Build libraries
if (NOT APPLE)
set(VECGEOM_LIBRARIES_EXTERNAL ${VECGEOM_LIBRARIES_EXTERNAL} rt)
set(VECGEOM_LIBRARIES_EXTERNAL ${VECGEOM_LIBRARIES_EXTERNAL} rt pthread)
endif()
add_library(vecgeom ${SRC_CPP})
......@@ -890,10 +890,6 @@ else()
set(VECGEOM_LIBNAME "libvecgeom${CMAKE_STATIC_LIBRARY_SUFFIX}")
endif()
if (NOT APPLE)
set(VECGEOM_LIBRARIES_EXTERNAL ${VECGEOM_LIBRARIES_EXTERNAL} rt)
endif()
# build the CUDA version of the library
if (CUDA)
cuda_add_library(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment