gpu_nvidea plugin: fix build
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 28 Oct 2019 12:54:23 +0000 (13:54 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Mon, 28 Oct 2019 12:54:23 +0000 (13:54 +0100)
Fixes #3320

Makefile.am

index f2732e1..9e2687a 100644 (file)
@@ -1017,7 +1017,7 @@ endif
 if BUILD_PLUGIN_GPU_NVIDIA
 pkglib_LTLIBRARIES += gpu_nvidia.la
 gpu_nvidia_la_SOURCES = src/gpu_nvidia.c
-gpu_nvidia_la_CPPFLAGS = $(PLUGIN_CPPFLAGS) $(BUILD_WITH_GPU_CUDA_CPPFLAGS)
+gpu_nvidia_la_CPPFLAGS = $(AM_CPPFLAGS) $(BUILD_WITH_GPU_CUDA_CPPFLAGS)
 gpu_nvidia_la_LDFLAGS = $(PLUGIN_LDFLAGS) $(BUILD_WITH_GPU_CUDA_LDFLAGS)
 gpu_nvidia_la_LIBADD = $(BUILD_WITH_CUDA_LIBS)
 endif