--- /dev/null
+Description: Require CUDA for OpenMP target
+ It makes little sense to have HERCULES compiler without CUDA offloading.
+ .
+ hercules-compiler (2018.7-1) unstable; urgency=medium
+ .
+ * Clean native build directory
+ * Update to the new compiler version published by ETHZ
+Author: Michal Sojka <michal.sojka@cvut.cz>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2018-09-13
+
+--- hercules-compiler-2018.7.orig/openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
++++ hercules-compiler-2018.7/openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
+@@ -112,7 +112,7 @@ mark_as_advanced(
+ ################################################################################
+ # Looking for CUDA...
+ ################################################################################
+-find_package(CUDA QUIET)
++find_package(CUDA REQUIRED)
+
+ set(LIBOMPTARGET_DEP_CUDA_FOUND ${CUDA_FOUND})
+ set(LIBOMPTARGET_DEP_CUDA_LIBRARIES ${CUDA_LIBRARIES})