We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8118d commit cc36db6Copy full SHA for cc36db6
cmake/system.cmake
@@ -621,7 +621,10 @@ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} ${FCOMMON_OPT}")
621
set(FPFLAGS "${FPFLAGS} ${FCOMMON_OPT} ${COMMON_PROF}")
622
623
#For LAPACK Fortran codes.
624
-set(LAPACK_FFLAGS "${LAPACK_FFLAGS} ${CMAKE_Fortran_FLAGS}")
+set(LAPACK_FFLAGS "${LAPACK_FFLAGS} ${CMAKE_Fortran_FLAGS}" )
625
+if (LAPACK_STRLEN)
626
+ set (LAPACK_FFLAGS "${LAPACK_FFLAGS} -DLAPACK_STRLEN=${LAPACK_STRLEN}")
627
+endif()
628
set(LAPACK_FPFLAGS "${LAPACK_FPFLAGS} ${FPFLAGS}")
629
630
#Disable -fopenmp for LAPACK Fortran codes on Windows.
0 commit comments