From 9caa92ba7e7019202ed9cf765b2bd23bcf9c8987 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 30 Dec 2012 01:27:45 +0000 Subject: [PATCH] Improve wording of error message. git-svn-id: https://svn.dealii.org/branches/branch_cmake@27870 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_compiler_flags.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deal.II/cmake/setup_compiler_flags.cmake b/deal.II/cmake/setup_compiler_flags.cmake index 3b5c2b87b4..7102e0105d 100644 --- a/deal.II/cmake/setup_compiler_flags.cmake +++ b/deal.II/cmake/setup_compiler_flags.cmake @@ -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) - -- 2.39.5