mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Mark vtkm_force_linking_to_pthread_to_fix_nvidia_libgl_bug as static
This commit is contained in:
parent
c1c43d19d4
commit
df8c13eeda
@ -69,7 +69,7 @@
|
|||||||
// never used and seems very crazy.
|
// never used and seems very crazy.
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#define VTKM_NVIDIA_PTHREAD_WORKAROUND 1
|
#define VTKM_NVIDIA_PTHREAD_WORKAROUND 1
|
||||||
int vtkm_force_linking_to_pthread_to_fix_nvidia_libgl_bug()
|
static int vtkm_force_linking_to_pthread_to_fix_nvidia_libgl_bug()
|
||||||
{ return static_cast<int>(pthread_self()); }
|
{ return static_cast<int>(pthread_self()); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user