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)
14
14
FortranCInterface_HEADER (${LAPACK_BINARY_DIR} /include/cblas_mangling.h
15
15
MACRO_NAMESPACE "F77_"
16
16
SYMBOL_NAMESPACE "F77_" )
17
+
18
+ # Check for any necessary platform specific compiler flags
19
+ include (CheckLAPACKCompilerFlags )
20
+ CheckLAPACKCompilerFlags ()
17
21
endif ()
18
22
if (NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND )
19
23
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" )
177
177
endif ()
178
178
179
179
# Suppress compiler banner and summary
180
+ include (CheckFortranCompilerFlag )
180
181
check_fortran_compiler_flag ("-quiet" _quiet )
181
182
if ( _quiet AND NOT ("${CMAKE_Fortran_FLAGS} " MATCHES "[-/]quiet" ) )
182
183
set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -quiet" )
You can’t perform that action at this time.
0 commit comments