]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Improve wording of error message.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 30 Dec 2012 01:27:45 +0000 (01:27 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 30 Dec 2012 01:27:45 +0000 (01:27 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@27870 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/setup_compiler_flags.cmake

index 3b5c2b87b46241ba42e507f72adfa8fe79df4f57..7102e0105d92f5bba060a20c8bcb8647663ae447 100644 (file)
@@ -59,8 +59,8 @@
 IF(NOT ( "${CMAKE_C_COMPILER_ID}" STREQUAL "${CMAKE_CXX_COMPILER_ID}" AND
          "${CMAKE_C_COMPILER_VERSION}" STREQUAL "${CMAKE_CXX_COMPILER_VERSION}" ) )
     MESSAGE(FATAL_ERROR "\n"
-      "Configuration error: The specified C and CXX compiler have to be the "
-      "same, but found:\n"
+      "Configuration error: The specified C and CXX compiler have to be of the "
+      "same family, but cmake found:\n"
       "CMAKE_C_COMPILER: ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}\n"
       "CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}\n"
       )
@@ -105,4 +105,3 @@ ELSE(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)
     "(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS=OFF)"
     )
 ENDIF(DEAL_II_SETUP_DEFAULT_COMPILER_FLAGS)
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.