summaryrefslogtreecommitdiff
path: root/science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake')
-rw-r--r--science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake b/science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake
new file mode 100644
index 000000000000..4062ba6f5a3c
--- /dev/null
+++ b/science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake
@@ -0,0 +1,11 @@
+--- cmake/GNUFortranCompiler.cmake.orig 2024-02-29 10:18:05 UTC
++++ cmake/GNUFortranCompiler.cmake
+@@ -29,7 +29,7 @@ else()
+
+ target_link_options(qe_openmp_fortran INTERFACE "$<$<LINK_LANGUAGE:Fortran>:${OpenMP_Fortran_FLAGS}>")
+ else()
+- target_compile_options(qe_openmp_fortran INTERFACE "-foffload=disable")
++ target_compile_options(qe_openmp_fortran INTERFACE "--offload=disable")
+ endif()
+
+ ############################################################