CMake: patch for NAG. (#8869)
This commit is contained in:
parent
4a6a19be85
commit
ec174dae69
2 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,9 @@
|
||||||
|
diff --git a/Modules/Compiler/NAG-Fortran.cmake b/Modules/Compiler/NAG-Fortran.cmake
|
||||||
|
index 39aae1883..9973febc3 100644
|
||||||
|
--- a/Modules/Compiler/NAG-Fortran.cmake
|
||||||
|
+++ b/Modules/Compiler/NAG-Fortran.cmake
|
||||||
|
@@ -34,3 +34,4 @@ set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-fixed")
|
||||||
|
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-free")
|
||||||
|
set(CMAKE_Fortran_COMPILE_OPTIONS_PIC "-PIC")
|
||||||
|
set(CMAKE_Fortran_COMPILE_OPTIONS_PIE "-PIC")
|
||||||
|
+set(CMAKE_Fortran_RESPONSE_FILE_LINK_FLAG "-Wl,@")
|
|
@ -87,6 +87,9 @@ class Cmake(Package):
|
||||||
# https://gitlab.kitware.com/cmake/cmake/issues/16226
|
# https://gitlab.kitware.com/cmake/cmake/issues/16226
|
||||||
patch('intel-c-gnu11.patch', when='@3.6.0:3.6.1')
|
patch('intel-c-gnu11.patch', when='@3.6.0:3.6.1')
|
||||||
|
|
||||||
|
# https://gitlab.kitware.com/cmake/cmake/issues/18232
|
||||||
|
patch('nag-response-files.patch', when='@3.7:3.12')
|
||||||
|
|
||||||
conflicts('+qt', when='^qt@5.4.0') # qt-5.4.0 has broken CMake modules
|
conflicts('+qt', when='^qt@5.4.0') # qt-5.4.0 has broken CMake modules
|
||||||
|
|
||||||
# https://gitlab.kitware.com/cmake/cmake/issues/18166
|
# https://gitlab.kitware.com/cmake/cmake/issues/18166
|
||||||
|
|
Loading…
Reference in a new issue