Skip to content

Commit 228ece5

Browse files
authored
Merge pull request dealii#18918 from tjhei/cmake-error-location
CMake: fix CMake error file location in error message
2 parents 9c20ca0 + 5c82779 commit 228ece5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

cmake/configure/configure_10_lapack.cmake

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,16 +70,17 @@ macro(feature_lapack_find_external var)
7070
if(NOT LAPACK_SYMBOL_CHECK)
7171
message(STATUS
7272
"Could not find a sufficient BLAS/LAPACK installation: "
73-
"BLAS/LAPACK symbol check failed! Consult CMakeFiles/CMakeError.log "
74-
"for further information."
73+
"BLAS/LAPACK symbol check failed! Consult CMakeFiles/CMakeError.log or "
74+
"CMakeFiles/CMakeConfigureLog.yaml for further information."
7575
)
7676
set(LAPACK_ADDITIONAL_ERROR_STRING
7777
${LAPACK_ADDITIONAL_ERROR_STRING}
7878
"Could not find a sufficient BLAS/LAPACK installation: \n"
7979
"BLAS/LAPACK symbol check failed! This usually means that your "
8080
"BLAS/LAPACK installation is incomplete or the link line is "
8181
"broken. Consult\n"
82-
" CMakeFiles/CMakeError.log\n"
82+
" CMakeFiles/CMakeError.log or\n"
83+
" CMakeFiles/CMakeConfigureLog.yaml\n"
8384
"for further information.\n"
8485
)
8586
set(${var} FALSE)

cmake/configure/configure_50_scalapack.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ macro(feature_scalapack_find_external var)
5050
"SCALAPACK symbol check for pdsyevr_ and pssyevr_ failed! "
5151
"This usually means that your SCALAPACK installation is incomplete "
5252
"or the link line is broken. Consult\n"
53-
" CMakeFiles/CMakeError.log\n"
53+
" CMakeFiles/CMakeError.log or\n"
54+
" CMakeFiles/CMakeConfigureLog.yaml\n"
5455
"for further information.\n"
5556
)
5657
set(${var} FALSE)

0 commit comments

Comments
 (0)