Skip to content

Commit 01881b0

Browse files
committed
Fix spacing in CMake warning messages
1 parent 1d09697 commit 01881b0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if ("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
1515
"CMAKE_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}"
1616
" == CMAKE_CURRENT_BINARY_DIR=${CMAKE_CURRENT_BINARY_DIR}"
1717
"\nThis archive does not support in-source builds:\n"
18-
"You must now delete the CMakeCache.txt file and the CMakeFiles/ directory under"
18+
"You must now delete the CMakeCache.txt file and the CMakeFiles/ directory under "
1919
"the 'src' source directory or you will not be able to configure correctly!"
2020
"\nYou must now run something like:\n"
2121
" $ rm -r CMakeCache.txt CMakeFiles/"
@@ -172,9 +172,9 @@ unset(OLD_INCLUDES)
172172
unset(OLD_LIBRARIES)
173173

174174
if (NOT MPI_C_COMPILES)
175-
message(FATAL_ERROR "MPI_C is missing!"
176-
"Try setting MPI_C_COMPILER to the appropriate C compiler wrapper script and reconfigure."
177-
"i.e., `cmake -DMPI_C_COMPILER=/path/to/mpicc ..` or set it by editing the cache using"
175+
message(FATAL_ERROR "MPI_C is missing! "
176+
"Try setting MPI_C_COMPILER to the appropriate C compiler wrapper script and reconfigure. "
177+
"i.e., `cmake -DMPI_C_COMPILER=/path/to/mpicc ..` or set it by editing the cache using "
178178
"cmake-gui or ccmake."
179179
)
180180
endif()
@@ -245,17 +245,17 @@ unset(OLD_INCLUDES)
245245
unset(OLD_LIBRARIES)
246246

247247
if ( (NOT MPI_Fortran_MODULE_COMPILES) AND (NOT MPI_Fortran_INCLUDE_COMPILES) )
248-
message ( WARNING "It appears that the Fortran MPI compiler is not working."
249-
"For OpenCoarrays Aware compilers, this may be irrelavent:"
250-
" The src/extensions/opencoarrays.F90 module will be disabled, but it is"
248+
message ( WARNING "It appears that the Fortran MPI compiler is not working. "
249+
"For OpenCoarrays Aware compilers, this may be irrelavent: "
250+
" The src/extensions/opencoarrays.F90 module will be disabled, but it is "
251251
" possible that the build will succeed, despite this fishy circumstance."
252252
)
253253
endif()
254254

255255
if ( NOT MPI_Fortran_MODULE_COMPILES )
256-
message ( WARNING "It appears that MPI was built with a different Fortran compiler."
257-
"It is possible that this may cause unpredictable behavior. The build will continue"
258-
"using `mpif.h` BUT please report any suspicious behavior to the OpenCoarrays"
256+
message ( WARNING "It appears that MPI was built with a different Fortran compiler. "
257+
"It is possible that this may cause unpredictable behavior. The build will continue "
258+
"using `mpif.h` BUT please report any suspicious behavior to the OpenCoarrays "
259259
"developers."
260260
)
261261
endif()

0 commit comments

Comments
 (0)