summaryrefslogtreecommitdiff
path: root/science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-03-16 00:40:45 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-03-16 01:05:35 -0700
commitd9c009973f61a03688f1436c37d61b30f0971f00 (patch)
tree16ee25cb8dc7a213cc1f01ee82cd05a70a4b2a85 /science/quantum-espresso/files/patch-cmake_GNUFortranCompiler.cmake
parentnet/libvncserver: Revert fix with ssl from ports (diff)
science/quantum-espresso: update 6.7.0 → 7.3.1
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()
+
+ ############################################################