File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ if(CMAKE_Fortran_COMPILER)
1414 FortranCInterface_HEADER(${LAPACK_BINARY_DIR} /include /cblas_mangling.h
1515 MACRO_NAMESPACE "F77_"
1616 SYMBOL_NAMESPACE "F77_" )
17+
18+ # Check for any necessary platform specific compiler flags
19+ include (CheckLAPACKCompilerFlags)
20+ CheckLAPACKCompilerFlags()
1721endif ()
1822if (NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND)
1923 message (WARNING "Reverting to pre-defined include/cblas_mangling.h" )
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ elseif( CMAKE_Fortran_COMPILER_ID STREQUAL "NAG" )
177177 endif ()
178178
179179 # Suppress compiler banner and summary
180+ include (CheckFortranCompilerFlag)
180181 check_fortran_compiler_flag("-quiet" _quiet)
181182 if ( _quiet AND NOT ("${CMAKE_Fortran_FLAGS} " MATCHES "[-/]quiet" ) )
182183 set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -quiet" )
You can’t perform that action at this time.
0 commit comments