summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openmp/libomptarget/plugins/cuda/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/openmp/libomptarget/plugins/cuda/CMakeLists.txt b/openmp/libomptarget/plugins/cuda/CMakeLists.txt
index 51d4d42ead3..a84083c0e3f 100644
--- a/openmp/libomptarget/plugins/cuda/CMakeLists.txt
+++ b/openmp/libomptarget/plugins/cuda/CMakeLists.txt
@@ -24,6 +24,7 @@ if(LIBOMPTARGET_DEP_LIBELF_FOUND)
endif()
include_directories(${LIBOMPTARGET_DEP_CUDA_INCLUDE_DIRS})
+ include_directories(${LIBOMPTARGET_DEP_LIBELF_INCLUDE_DIRS})
add_library(omptarget.rtl.cuda SHARED src/rtl.cpp)
@@ -46,4 +47,4 @@ if(LIBOMPTARGET_DEP_LIBELF_FOUND)
endif()
else(LIBOMPTARGET_DEP_LIBELF_FOUND)
libomptarget_say("Not building CUDA offloading plugin: libelf dependency not found.")
-endif(LIBOMPTARGET_DEP_LIBELF_FOUND) \ No newline at end of file
+endif(LIBOMPTARGET_DEP_LIBELF_FOUND)
OpenPOWER on IntegriCloud